I have been working on a time management system that is modeled on tasks (things to do, and how long they took to do) and contexts (tasks depend on other tasks, and tasks should be recorded for billing purposes).
As part of this, I wrote a real quick and dirty unit testing (and hopefully functional testing as well) zimlet that I can use to plan out code, and to test my code base.
Right now to run each test, I have a lot of code that reads:
Code:
TestController.startTest(this, this.taskCreate);
Which obviously, I would like to automate. Is there any way to programmaticly reflect/introspect in javascript to look for methods that match a particular name (starts with test, one format param?)