RSS feed [root] /testing /weblog /software_engineering



title search:


Wed Nov 27 15:48:25 HKT 2013


A nice example of convert dbunit from using junit to testng -[..]h/blog.php?name=philzoio&mydate=20050826

redirect junit output to a file -

invokeNCopiesWithTimeout, run a test ( in runnable() ) for n times and see if it ok for multi-thread likely or not -[..]/running-n-foreground-tasks-in-java.html

Use theories to execute test with a lot difference input, probably possible for all cases -[..]010/01/31/new-feature-of-junit-theories/[..]using-junit-4-theories-to-test-contracts

The other features, rule, perform some rule on test cases -

Adding timeout -

Testing exceptions at Junit -[..]ting-expected-exceptions-with-junit.html[..]ays-of-handling-exceptions-in-junit.html[..]-java-unit-testing-frameworks-tools.html

Skip test for some cases, or create test only for some cases -[..]unit-rule-to-conditionally-ignore-tests/

(google search) (amazon search)
download zip of files only