Re: [Tasktlogger-devel] junit tests
Brought to you by:
teiniker
From: Rainer S. <rai...@fh...> - 2006-12-11 09:12:41
|
hallo ! ein ganz naiver ansatz: kann es sein, dass die datenbank vom vorhergehenden test noch nicht bereit ist. wenn ich die tests händisch schnell hintereinander ausführe krieg ich bei funktionierenden tests ebenfalls diverse SQL-exceptions lg rainer > hallo, > > es gibt nun ein ant target tests.junit, das alle unit tests ausführt und Reports generiert unter /dev/tests/results. > > falls ihr das target von eclipse aus nutzen wollt müsst ihr in den preferences unter ant/runtime beim classpath unter "Ant Home Entries" das junit.jar aus /vendor/lib hinzufügen. > > ich hab da allerdings noch ein problem: > > beim ausführen der tests bekomme ich sehr oft "java.sql.SQLException: The database is already in use by another process:...", > obwohl tomcat nicht läuft. > > any idea?? > > > lg, thomas > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tasktlogger-devel mailing list > Tas...@li... > https://lists.sourceforge.net/lists/listinfo/tasktlogger-devel |