Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.5
-
Component/s: None
-
Labels:None
-
Patch:Code and Test
-
Approval:Ok
Description
The 0.1.5 release of test generative includes data generators and specs based on data generation, plus a runner that can run both c.t and c.t.g. tests under the same umbrella.
Attachments
Activity
Fogus
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Stuart Halloway [ stu ] | Fogus [ fogus ] |
Fogus
made changes -
| Comment |
[ I agree with you position on the cyclic load tests. The patch looks sane to me and ran without hitch. A couple points of note:
* This requires one to re-run {{antsetup}} -- not a problem, but it might trip a few people * The final output of the test run is different than before. In the case of a successful run we now see only the generative success stats. Is the regular clojure.test stats included? It's not clear to me, but I don't think they are. In the fail case we see something like the following. I actually like the map output better, but one advantage to the stack trace output was that it sometimes helped identify code bugs. In any case, it would be nice to see an aggregate score at the end. This is a test.generative feature request I know. {noformat} [java] {:clojure.test/vars (test-equality), [java] :thread/name "main", [java] :pid 8682, [java] :thread 1, [java] :type :assert/fail, [java] :level :warn, [java] :test/actual (not (not true)), [java] :test/expected (not (= nil nil)), [java] :line 28, [java] :tstamp 1345649256308, [java] :file "data_structures.clj"} {noformat} In all, I like this! Now we need to start thinking up more specs. ] |
Fogus
made changes -
| Approval | Vetted [ 10003 ] | Screened [ 10004 ] |
| Assignee | Fogus [ fogus ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
Stuart Sierra
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Stuart Halloway
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |