On 16/03/2016 9:31pm, Hugi Thordarson wrote:
> Hi all.
> 
> Just out of curiosity; how are you guys populating your test DBs before 
> running tests? Has anyone written something brilliant to do it with e.g. 
> .yml-files (via Cayenne)? Are you doing it via SQL-scripts? In code perhaps?
> 
> I’m currently creating my test DBs in code (using Cayenne) and it becomes 
> cumbersome when they reach a certain size :).

http://dbunit.sourceforge.net/ will do the trick for you. That combined with 
Derby's in-memory mode.

Ari




-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to