Stub Generator for CFCs, Unit Tests, and More
I've created a new and much improved CFC Stub Generator and want to see what people think of this idea. It will generate CFCs, unit tests (for CFUnit or CFCUnit), mock objects, test runners, ColdSpring XML, and ANT unit test build XML files from a simple text file.
You can download the code in the sidebar. I've also submitted an RIAForge project for it. To show how it works, I created a Connect presentation about using the CFC Stub Generator. Have a look and let me know what you think. Thanks.
(Quick aside since I don't think I explicitly mentioned it, you can get the CFCUnit facade for the unit testing tab in CFEclipse at Sean Corfield's blog.)




Nice work.
@Brian: yes this is very different from your Illudium generator (which I love). The CFC stub part is really the least useful part in my opinion, though it is helpful as a starting point. I think the automatic test creation is the really useful part. I could imagine some folks generating the stubs and just throwing away the CFC stubs and keeping the other stuff. It just depends on what you need and what other tools you're using. Thanks for having a look!
On another note, shouldn't you follow Brian R.'s example of a cool name for this generator? Maybe ACME Unit Test Generator.
j/k.
When I have a chance I'll update CFUnit's web site to reference this tool and presentation, because I think it's something a lot of CFUnit users would find helpful.