Auto Generating Unit Tests
In response to a previous posting Nathan Mische has posted about how he auto generates some of his unit tests using Brian Rinaldi's Illudium PU-36 Code Generator. Definitely worth checking out.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 |
As a teaser...I *just* finished a wholesale rewrite of the generator with a Flex front-end. This makes the UI much more intuitive and the whole thing can run on a single page rather than click dsn > submit, click table and set path > submit, etc. One new feature this will add is that if you have custom tempates, you can swap them on the fly rather than the template tied to a dsn format that currently exists. Anyway, enough teaser...look for more details hopefully this weekend. :)
I'd certainly be interested in seeing something like this in the cfcGenerator. Like I said in my post, I'm generating fairly basic tests but even these have been extremely helpful. Also, the new Flex version of the generator sounds pretty cool, I'll have to check it out.
@Peter
Thanks for link!
@Everyone
I'm pretty green when it comes unit testing so if you check out my post and have any suggestions I'm all ears.