Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using PTL with PBS

Insert excerpt
PTL Architecture Layout
PTL Architecture Layout

PTL Directory Structure

Insert excerpt
PTL Directory Structure
PTL Directory Structure
nopaneltrue

PTL Test Structures and Conventions

PTL test suites are directly inherited from the unittest TestCase class.

Insert excerpt
PTL Architecture LayoutPTL Architecture Layout

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. 

Test Structures and Conventions
PTL Test Structures and Conventions
nopaneltrue