The newest DRK has some pretty cool CF components, including my new personal favorite toy - CFUnit. This is a set of CFCs that allow for quickly creating unit tests for CFCs. If you don't know what a unit test is, it's simply a way to ensure that your software is acting as it should be. For example, if a CFC should return 1 for a certain method, you could quickly write a test to call that method and check the result. CFUnit allows you to quickly gather up a bunch of tests and run them at once. It then displays a nice table showing the result of each test.
One more reason to purchase the DRK! (And no, I don't get a kickback. ;)
I think I may include a unit test (but not the base CFC of course, I can't redistribute that) with the next release of the Blog CFC.
Archived Comments
Ray,
The way I read the EULA in the DRK 3, you CAN distribute the CF components that come with the DRK in your own applications, so long as you include the copyright notice in the Macromedia written code. Now maybe CF_Unit isn''t considered a component as defined in the EULA, but if it''s not, then I don''t see any other definition for what it is listed in the EULA.