By Peter Bell

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.

Comments
Sweet! Thanks for the link, I had not seen this. Perhaps I can talk to him about how something like this could be worked into the generator.

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. :)
# Posted By Brian Rinaldi | 11/17/06 10:22 AM
Hey, sounds very cool - looking forwards to it!
# Posted By Peter Bell | 11/17/06 10:33 AM
@Brian

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.
# Posted By Nathan Mische | 11/17/06 11:22 AM
I love the cfcGenerator, I have not used any type of unit testing so It is something I would defiantly be interested in learning.
# Posted By dan | 11/17/06 2:15 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.