Saturday, June 07, 2008

Assessments improvements

In the SUnit I have, TestCase has a total of 60 methods (both class and instance side) and an instance variable. I finished cleaning up the things I didn't like in Checklist, and it has just 44 methods and no instance variables.

Even though Checklist has less code, it does much more than TestCase already. Besides the new features, what I really like is that now it has absolutely no code related to the execution of checks. And since Assessments now does check execution externally, you can see where this is going: having the ability to run any kind of tests by providing an execution interface. More to come on this department...

545 methods, 96 classes, ~5.7 methods per class on average.

No comments: