|
Fantastic write-up! The main problem inhibiting use of JSTD is the lack of documentation. The information on the wiki is much lacking and out-of-date. This post patches part of that void.One issue I've found is that any global variables set by one test (by the code under test) are persisted into the next test. This can easily make tests dependent on each other, which unit tests should not be. Is there any clean solution to this without explicitly clearing the variables in tearDown, or do you just consider that kind of code faulty any way?
|