Author:halw

Date:2009-02-23T15:04:25.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@194 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2009-02-23 15:04:25 +00:00
parent 813dc87e7e
commit ff832b67a7
3 changed files with 22 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ This time we see that the test is successful, as indicated by the Success icon (
==The beginnings of a test suite==
Of course, we would not have had to use the Eiffel Testing Framework to find that bug in <code>{BANK_ACCOUNT}.deposit</code>. We could have just written a simple class to exercise instances of <code>BANK_ACCOUNT</code> and truth would have come out.
Of course we would not have had to use the Eiffel Testing Framework to find that bug in <code>{BANK_ACCOUNT}.deposit</code>. We could have just written a simple class to exercise instances of <code>BANK_ACCOUNT</code> and truth would have come out.
The advantage of using the Eiffel Testing Framework is that the test that we wrote to cover <code>{BANK_ACCOUNT}.deposit</code> can stay with us throughout the lifecycle of class <code>BANK_ACCOUNT</code>. We can expand the <code>TEST_BANK_ACCOUNT</code> with additional manual tests and run them after every development increment to ensure that all tests that were once successful are still successful.