PTL Directory Structure
Insert excerpt | |||||
---|---|---|---|---|---|
| |||||
Insert excerpt | |||||
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Tests (Test Cases)
Each test is a Python method and is a member of a Python class defining a test suite. A test is also called a test case.
Tests are named test_<test name>
Test Suites
Each test suite is a Python class made up of tests. Each test is a method in the class.
Test suites are named Test<test suite name>
Test Files
Each test file contains one test suite.
Test files are named pbs_<feature name>.py
Inherited Python Classes
PTL is derived from and inherits classes from the Python unittest unit testing framework.
PTL test suites are directly inherited from the unittest TestCase class.