| Summary: | Refactor the TPTP test suite to contain the name of the bugzilla component | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ruth Lee <ruthdaly> |
| Component: | TPTP | Assignee: | Sri Doddapaneni <srinivas.p.doddapaneni> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | closed460 | ||
| Bug Depends on: | 111695, 111696 | ||
| Bug Blocks: | 109657 | ||
|
Description
Ruth Lee
As per AG discussion on 8/5/05, this should be done in 4.1I1 prior to reporting test pass results. -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. Testsuites have been refactored for the following components: Platform.UI Platform.UI.LogView Platform.UI.ProbeEditor Platform.UI.ProfilingPerspective Platform.UI.SequenceDiagram Monitor.UI Monitor.UI.GLARules Monitor.UI.SDBEditor Trace.UI Moving it to I2. Test suite renaming is done. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |