Using PTL
Directory Structurewith PBS
Insert excerpt | ||||
---|---|---|---|---|
|
PTL Directory Structure
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Tests
Each test is a Python method and is a member of a Python class defining a test suite.
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.PTL Test Structures and Conventions
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|