dbunit
DBUnit not cleaning and insert the database after every method, so test are not independent
I have a test for a DAO class, I use DBUnit to create and populate the database (using an in-memory derby).[详细]
2023-04-11 06:37 分类:问答DbUnit testing a PostgreSQL database using JPA without Hibernate or Spring
I\'m trying to write a Java EE 6 application using JPA but without using Hibernate or Spring. I used Netbeans to generate the JPA classes, and I created the tables in Postgres, but I am not able to ru[详细]
2023-04-08 21:39 分类:问答Tests are not started after db creation by liquibase
I\'m testing datasource layer using dbunit, junit, liquibase, hsqldb. I\'m using in memory-state of hsqldb.[详细]
2023-04-08 07:35 分类:问答How to make unit tests for DAO classes less brittle in the absence of a static test database?
Here\'s the scanario: I am working on a DAO object which uses hibernate criteria API to form a number of complicated queries to perform certain tasks on the database (keyword search across multiple f[详细]
2023-04-06 14:13 分类:问答slow dbunit DatabaseSequenceFilter initialization
I use Oracle 11 with dbunit. The DatabaseSequenceFilter initialization is about 20 minutes. ITableFilter filter;[详细]
2023-04-04 00:07 分类:问答Simulate trigger with dbUnit
I\'m using dbUnit to put test data in DB with dataset like <dataset> <TABLE_1 PRIMARY_KEY_COL=\"10000001\" OTHER_COL=\"Some Text\"/>[详细]
2023-04-03 06:55 分类:问答How do I order an XML export in DBUnit by primary key?
I export test data into a versioned project. To keep diffs small, I\'d like to order the exported XML data by primary 开发者_运维技巧key.[详细]
2023-04-03 01:59 分类:问答DbUnit - Delete rows based on non-primary key field value
It looks like DbUnit is using JDBC metadata to determine the primary key fields and constructing delete statement using th开发者_如何转开发ose field:[详细]
2023-04-01 22:45 分类:问答Tests with DBunit and Oracle 10g autogenerated primary key identifiers not synchronized (JPA/Hibernate)
I\'m testing a JPA/Hibernate application with DBunit and Oracle 10g. When I start my test I load to the database 25 rows with an identifier.[详细]
2023-04-01 11:40 分类:问答DBUnit oracle possible to determine tables written to after a given test
I have an application with ca. 200 tables and approx. 20 java server / batch programs. I have a pretty good canned suite of System tests.[详细]
2023-04-01 09:14 分类:问答