junit - Support for Sequence in DBUnit -


we in process of analyzing dbunit data driven unit testing. able export oracle db tables flat xml dataset using code below , use generated dataset input our junit testing.

    // partial database export      querydataset partialdataset = new querydataset(connection);     partialdataset.addtable("foo", "select * table col='value'");     partialdataset.addtable("bar");     flatxmldataset.write(partialdataset, new fileoutputstream("partial.xml")); 

org.dbunit.database.querydataset provides option add tables not sequences. need export sequence same way dbunit dataset. there way achieve ?

we looking tools unit testing (data driven) repository layer using open source tools. there other open source tool similar dbunit ?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -