Versions Compared

Key

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

Using PTL

Directory Structure

with PBS

Insert excerpt
PTL Directory StructureArchitecture Layout
PTL Architecture Layout

PTL Directory Structure

nopaneltrue

Insert excerpt
PTL Architecture LayoutDirectory Structure
PTL Architecture LayoutDirectory Structure
nopaneltrue

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
PTL Test Structures and Conventions
PTL Test Structures and Conventions
nopaneltrue