[squeak-dev] How to find...?
Ken Causey
ken at kencausey.com
Fri Aug 22 21:35:20 UTC 2008
'cE'
Occurs in update
http://ftp.squeak.org/updates/5683Tests-md.cs
Premable:
"Change Set: Tests-md
Date: 29 January 2004
Author: Marcus Denker
These are all the tests from the BaseImage tests package on SqueakMap.
We decided to add these to the image to make it more easy to add new tests
and, most important, allow the tests to be used as runnable documentation.
Conventions used:
a) All tests are in a parallel class-category with the prefix Tests-
This makes it easy to remove all tests.
b) Tests for single classes: These tests are named ClassToBeTestedTest, all
tests that test a single method are named testOriginalMethod, and are
in a method-categorie named like the original, but with the prefix
'testing - '.
For these kinds of tests an abstrakt subclass of TestCase (named ClassTestCase)
is provided that adds common tests that seem to be usefull in all cases.
(three up to now: a test if all methods are categoriesed, a test to send new
and a test that looks if a class comment is provided)
c) Tests that are testing more than one class (whole subsystems) or test
for complex bugs are of course possible. These can be put in an existing
'Tests-*' category or even add their own (like Tests-KCP, or Tests-Bugs).
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080822/28aae9a4/attachment.pgp
More information about the Squeak-dev
mailing list
|