Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Page Tree
root@home
startDepth2
searchBoxtrue

This page describes some common tasks for maintaining the script test system.

Add/Remove Bugs

Add bugs to failing tests

Every test that is listed as failing should have a bug ID listed next to it, like so:

Code Block
languagenone
TargetCbParams_DC_Max_Iterations_DisplayNeptune1_2Body (script) [ptrndiff 1,2,3 failed0.000741045, tol 0.0001] [3130GMT-361]

In this example, the components are:

  • Target

    CbParams_

    DC_Max_Iterations_Display

    Neptune1_2Body - test name

  • (script) - run mode (e.g. script, save, function)

  • [ptrn 1,2,3 faileddiff 0.000741045, tol 0.0001] - failure message

  • [3130GMT-361] - bug ID

If a test is failing and does not have a bug ID associated with it, add it with the tcfile utility:

Code Block
languagenone
>> tcfile('Cases', {'casename'}, 'AddBugs', {'GMT-####'}); 

You can add multiple bugs or multiple cases this way:

Code Block
languagenone
>> tcfile('Cases', {'case1', 'case2', 'case3'}, 'AddBugs', {'GMT-####', 'GMT-####'});
Remove bugs from passing tests

If a test is passing and still has a bug ID associated with it, the test will appear in the Test System Warnings section. These tests need to be untagged:

Code Block
languagenone
 >> tcfile('Cases', {'casename'}, 'RemoveBugs', {'GMT-####'});

You can remove multiple bugs from multiple cases this way:

Code Block
languagenone
>> tcfile('Cases', {'case1', 'case2', 'case3'}, 'RemoveBugs', {'GMT-####', 'GMT-####'});