[CLJ-1349] update to latest test.generative and prep for test.check Created: 10/Feb/14 Updated: 11/Feb/14
|Reporter:||Stuart Halloway||Assignee:||Stuart Halloway|
|Patch:||Code and Test|
This patch updates build to use the latest test.generative, and organizes build.xml so test.check can be dropped in next.
Patch: clj-1349-2 addresses Alex's feedback.
Screeners: note that the elapsed time reported at the end of an Ant build is not wall clock time. Even though the generative tests run for 60 seconds, it will report less. You can see that the tests are running for the correct duration by timing with a stopwatch if you care.
|Comment by Alex Miller [ 10/Feb/14 5:16 PM ]|
1) The (System/setProperty "clojure.test.generative.msec" "60000") was removed from run_tests.clj but not added to the new src/script/run_test_generative.clj. Because of this, the generative tests don't run as long and the overall build time (from generative tests) is shorter. I do not know if that was intentional.
2) The new (non-generative) part of the test lists many more namespaces being tested in the output, including gensym-ish ones like "Testing G__25228". However, both before and after the same number of tests and assertions are printed at the end. Not sure why these differ.
3) The all target could depend on test-all instead of both test and test-generative, but ok as is.