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

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.

PTL Test Structures and Conventions

Insert excerpt
PTL Test Structures and Conventions
PTL Test Structures and Conventions
nopaneltrue