dbunit « junit « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » junit » dbunit 

1. dbUnit data types    stackoverflow.com

I'm using dBUnit and am trying to assert a row of my pre-defined FlatXmlDataSet with the actual DB dataset. The problem is the getValue for my Verification Code field returns a ...

2. Many small dbunit data sets or one large one?    stackoverflow.com

Spreading test data across multiple small data sets seems to me to create a maintenance headache whenever the schema is tweaked. Anybody see a problem with create a single larger ...

3. Question about DBUNIT and Junit    stackoverflow.com

I have a database process written in PL/SQL that i would like to test using DBUNIT. The pl/sql program processes data from one table and generates new data into a new ...

4. dbunit assertion not throwing failure properly    stackoverflow.com

Following is a test case which tests the working of org.dbunit.Assertion.assertEquals(ITable a, ITable b)

@Test
public void testAssertion() {
    try {
        //Creating actual ...

5. Turning IDENTITY_INSERT ON on a table to load it with DB Unit    stackoverflow.com

I try to load a table, that have an identity column, with DB Unit. I want to be able to set the id value myself (I don't want the database generate ...

6. Force DbUnit to set autocommit=false    stackoverflow.com

I'm developing some JUnit tests using DbUnit and have found some of them to be painfully slow. I have one test that inserts 251 rows into a table (just 'Country' definitions- 3 ...

7. How to organize data environment for JUnit tests?    stackoverflow.com

I'm creating a data-intensive JEE web application, which keeps its persistent data in a relational database. Now I want some JUnit tests to validate the application behavior in certain "data environments". ...

8. DbUnit - Delete rows based on non-primary key field value    stackoverflow.com

It looks like DbUnit is using JDBC metadata to determine the primary key fields and constructing delete statement using those field:

delete from tbl_name where pk_field1=? and pk_field2=? and pk_field3=?
Is there ...

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.