| Summary: | [Testing] Refactor the TPTP test suite to contain the name of the bugzilla component | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ruth Lee <ruthdaly> |
| Component: | TPTP | Assignee: | Scott E. Schneider <scott.schneider> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | scott.schneider |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 109657 | ||
|
Description
Ruth Lee
-Rename test suites- 1. Rename the actual ".testsuite" file. (Open the "Navigator" view, right click, "Rename", change the name from "ABC.testsuite" to "BugzillaComponent.testsuite"). 2. Open the Test Perspective. Open the test suite by double-clicking on it. Change the "Name" and "Description" to reflect the new name. 3. Open the .testsuite file with WinZip (right-click, Open With, System Editor > Winzip). 4. Open the ResourceContents file in Notepad. (Double-click in WinZip.) 5. Rename "ABC" to "BugzillaComponent" on the "name" attribute of the "behavior" element from ABC_behavior to BugzillaComponent_behavior. 6. Update the the zip file with the ResourceContents test suite inside of Eclipse (hit F5 to refresh). 7. Open up the "AllTests.testsuite" that is in the grandparent directory. Go to the Behavior tab, remove the invocation to the old test suite (ABC - invocation). Insert > Invocation > browse to the new test suite. Save the editor. 8. In the cases where there are other test suites that link to ABC.testsuite, those also have to be changed, using the same technique as in #7. 9. Delete the ABC.testsuite from CVS, add the BugzillaComponent.testsuite into CVS, and update the AllTests.testsuite in CVS. -Moving test suites- 1. Create a brand new test suite. (Follow the instructions in README.txt.) http://dev.eclipse.org/viewcvs/index.cgi/test-results/platform/org.eclipse.hyades.tests/README.txt?rev=HEAD&cvsroot=TPTP_Project&content-type=text/vnd.viewcvs-markup 2. Manually copy the test cases from the old test suite into the new test suite. 3. Follow #7, #8, and #9. -Splitting test suites or merging test suites- If you need to split up tests amongst test suites, then create several new test suites and add the appropriate tests. Similarly for merging test suites, create a single new test suite and add the test cases from the old test suites into the new. Assigned to Scott who is working on it. Refactoring of test project test suites is complete. ACTION: Please verify/close this defect. Closing |