What is a TestToken? Stef On Dec 22, 2009, at 6:27 PM, Adrian Kuhn wrote:
A first fork is available
Gofer it squeaksource: 'akuhn'; package: 'SUnit'; package: 'SUnitGUI'; load
it has two new behaviors, TAssertable and TestToken.
In the old design class `TestCase` had two purposes: once as context of a running test, and once as result of a test after having been run. The new design separates these two roles, which had both different state and different life time. No more nullifying of instance variables after a test has been run. Also the outcome of tests (ie whether passed or not) has been moved from test result to the tokens.
Next up is to change test suites such that they contain tokens rather than test cases, and establish tokens as unique identifiers of test cases (such that we can compare aTestCase token with #==).
Distribute source control ftw!
--AA
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project