Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Unit Testing/Test Case Wizard    [ Add a report in this area ]  
Report #:  21759   Status: Closed
Testcases added later are not registered
Project:  Delphi Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Markus Humm
Report Type:  Basic functionality failure Date Reported:  11/28/2005 1:37:27 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   237458
Resolution: Inactive (Resolution Comments) Resolved in Build: :
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If you create a new class in a unit where you already have tests for and add the new testcases for that class, the wizard fails to add the RegisterTest call in the initialization part.

I changed this report because it still happens in Rad Studio 2007 with december update.
Steps to Reproduce:
1. create a project which consists on at least
   two classes in one unit.

2. make a test project for it with testcases
   only for one of these two classes.

3. run the tests - all is fine

4. add the testcases for the 2nd class using the Wizard.

5. save, compile and run the test GUI.

6. notice that these new tests don't appear

7. go back to the Delphi IDE and add a line
   with the correct call of RegisterTest in
   the initialization part of the unit where
   your testcases are contained.

8. Compile and run the test GUI again. Look at
   the new testcases listed now.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01