We use PTL to test our code. We write a PTL test to cover each change, or we use an existing PTL test.
PTL is a set of Python modules which provide an interface to PBS. You can use these modules when you test, benchmark, or write a CLI command for PBS.
You use PTL to run and catalog tests. PTL stands for PBS Test Lab. When necessary, you write new tests (such as for new features) and add them to PTL.
When you clone the pbspro GitHub repo, you get that repo's PTL tests along with PBS code. When your changes are merged, so are your PTL tests.
You run a PTL test via the pbs_benchpress command.
Exceptions aside, you must write a PTL test for every code change, and submit the test in the same commit as your code change.
You can improve PTL by adding tests and improving the PTL framework.