junit « Database « Java Database Q&A

Home
Java Database Q&A
1.Blob
2.cassandra
3.column
4.Connection
5.Cursor
6.dao
7.Data Type
8.Database
9.Database Product
10.DataSource
11.Date
12.db2
13.derby
14.Development
15.Driver
16.Exception
17.file
18.hadoop
19.hbase
20.hsqldb
21.ibatis
22.JDBC
23.memcached
24.mongodb
25.MS Access
26.mysql
27.ODBC
28.Operation
29.oracle
30.postgresql
31.Record
32.result
33.Resultset
34.Schema
35.SQL
36.sqlite
37.SQLserver
38.Statement
39.stored procedure
40.sybase
41.Table
42.Transaction
43.Trigger
Java Database Q&A » Database » junit 

1. JUnit for database code    stackoverflow.com

I've been trying to implement unit testing and currently have some code that does the following:

  1. query external database, loading into a feed table
  2. query a view, which is a delta of my feed ...

2. How do I unit test jdbc code in java?    stackoverflow.com

I'd like to write some unit tests for some code that connects to a database, runs one or more queries, and then processes the results. (Without actually using a database) Another developer here ...

3. JUnit Test a Database Failure?    stackoverflow.com

I'm trying to create a test that simulates a system failure to ensure the integrity of a Oracle Berkeley DB XML database. Data loss is currently being experienced during an insert ...

4. Writing test code for verifying database entries when testing an API    stackoverflow.com

I'm writing test code to test a client-server application. The application under test consists of

  1. an application that runs on Tomcat or another Java EE application server, and
  2. client jars that ...

5. Database cleanup after Junit tests    stackoverflow.com

I have to test some Thrift services using Junit. When I run my tests as a Thrift client, the services modify the server database. I am unable to find a good ...

6. Testing a dataset returned from a database    stackoverflow.com

If I am testing a database rowset, what would be the criteria to test against? Should I test that a row exists with a name of A, etc etc (What's in the ...

7. DB backend webapp testing in java [tool needed]    stackoverflow.com

I want to create a test suit for my java web application. Its a JSP applications with JDBC connectivity . My requirements are as follows, 1 - I should be able to ...

8. Database Unit Testing using JUnit    stackoverflow.com

I have a small experience with JUnit and TestNG, and today I need to do some Unit Testing for Java database code. I really don't know how I can achieve ...

9. JUnit Test case for testing data from database is latest and not stale    stackoverflow.com

I am getting list of data from database from my Service Class Method mDataVO.getMarketData() where mDataVO is an object of marketDataVO which is an value object for storing different types of ...

10. java junit testing in a loop    stackoverflow.com

I have a JUnit test that I would like to run from a main method. I would like to retrieve multiple records from a database (within the main method) and ...

11. How can I unit-test my database content?    stackoverflow.com

We have a case where we are testing a swing application. We have a QA person who up until now was doing manual testing of the app. Now we have realised ...

12. Running JUnit tests against more type of databases    stackoverflow.com

I have an application that uses databases through jdbc API (in fact spring jdbc template). We want to run our unit tests against more type of databases (MS SQL, Oracle, Postgre); ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.