wiki:GCI/QA/UnitNames

Version 4 (modified by Amar Takhar, on Jan 9, 2016 at 6:46:07 PM) (diff)

Fix line references.

Unit Test Names

Table of Contents

  1. Unit Test Names

This project about renaming the old names in the testsuite to new ones that are more descriptive.

To edit names see the google document below:

The tasks will contain the range number you need to edit for example lines 2-10.

As you can see for some the examples provided (2-4) the old names were:

  • tar01
  • tar02
  • tar03

These names aren't useful as they do not say what the test is about. The new way we are doing it lets us have better names.

If you click on the URL for tar01 it takes you to the test directory that has a few files. The only files you will care about end in *.doc or *.c. Sometimes you can read the document to see what the test is about if it does not exist you must look at the C file.

tar01 tests the functions to load a Tar file From various areas.

tar02 is about Loading Tar files and tar03 is loading a Tar file as the root image of RTEMS.

Here are some simple rules to follow:

  • Do not make the names long, 3 words maximum.
  • We use MashedUpWords?, capitalised words with no spaces.
  • Do not worry too much about duplicate names for other tests.
  • If you are stuck ask in the task instance we will help you.