Create test model

This command generates the test model of the selected packages.

The test model is created according to the specifications.

Create operation test

This method generates a test method for a private method.

The "Create test" command run on a package generates tests only for public methods. You use this command to test a protected or private method.

Create another operation test

This method generates another test method for a method that is already tested and updates the test class accordingly.

The same effect can be achieved by:

  1. cloning a test method,

  2. running "Update test model" on the test class.

Update test model

This command updates the test model of the selected packages.

The test model is modified to match the specifications :

  • Missing test packages, classes and methods are created and registered

  • Test methods are marked to be deleted:

    • if the test method is not linked to a tested method (usually because the tested method has been deleted)

    • if the tested method was moved to another class

This command can be run either on a test model class/package or a tested model class/package.

Cleanup test model

This command is available on test model packages.

It deletes all elements marked to be deleted contained in the selected elements.