61b6983294Very much better! Generating tests for n-arg functions which are ninety percent correct (five failures in 775 assertions).
master
Simon Brooke2014-08-14 21:43:35 +0100
0125723c83Broken, but promising, version: generates interesting tests for multi-arg functions, but breaks on some of them for reasons I don't yet understand.simon2014-04-08 19:25:59 +0100
f9325526abHalf way towards getting multiple args working (don't work yet)Simon Brooke2014-04-08 18:05:59 +0100
1e2c8852d4Right! Generate-assertion now takes varargs and would generate assertions for varargs, I'm just not yet passing the right number or arguments to it. That's the next step, and shouldn't be hard.simon2014-04-07 21:15:42 +0100
6d3b5d76a3Tidy up and a bit of renaming; gets rid of those end-of-file exceptions.simon2014-04-07 20:55:59 +0100
3361d55d81Solved the buffer-not-flushing bug. The reader was throwing an end-of-file exception, which caused code to skip out of the try block. The writer (dickens) wasn't in scope in the catch block, so could not have been flushed there. Solution: move the try-catch into the loop.Simon Brooke2014-04-07 12:50:56 +0100
7e173e99d0It still only works for one-arg functions, but... (also there is a problem with flushing the output file)Simon Brooke2014-04-06 18:37:14 +0100
c969dcdd2dUpdated the README to reflect what (little) has been achieved tonight.Simon Brooke2014-04-06 00:05:55 +0100
ef6b042d64A huge amount of work, but have not necessarily advanced very far. Trying to get to the point that this can effectively be called on other projects, and to be honest I think I'm almost there...Simon Brooke2014-04-06 00:02:57 +0100
adca01416cMinore changes to documentationsimon2014-04-03 23:25:39 +0100
0400b3fa4bNow reads clojure source from a file, and emits tests to another file. Definitely has many inellegances, but is currently generating and passing tests on itself: Ran 7 tests containing 114 assertions. 0 failures, 0 errors.simon2014-04-03 23:22:24 +0100