next up previous contents
Next: 4.5 Procedure for Unit Up: 4 Unit Testing Previous: 4.3 Glass Box Testing   Contents

4.4 Naming Conventions for Unit Tests

Each Unit Testing file will be called UTCLASSNAME.py, where CLASSNAME is the name of the class the test is designed for. For example, the unit test file for Mean.py will be named UTMean.py.

Each individual Unit Test will be named after the function that it tests. The format of this name will be the function name, followed by the word Test, followed by the number of the test. For example, unit tests for the getName function should be called getNameTest1, getNameTest2, and so on.