ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
BSD 3-Clause "New" or "Revised" License
7
stars
5
forks
source link
testsuite: add unit testing for Flux code in ATS #92
This PR, unfinished, is being put up by popular request.
Some refactoring of ATS might be required to fully support unit testing, but this is a first pass at it.
The tests (failing) can be run with python3 t0001-flux.py and require both an ATS installation and running flux session. We ultimately decided to go with an implementation of regression testing for Flux on Quartz instead.
The tests were supposed to test whether fluxScheduled.py is able to construct valid jobspecs from valid ATS tests, and vice versa.
This PR, unfinished, is being put up by popular request.
Some refactoring of ATS might be required to fully support unit testing, but this is a first pass at it.
The tests (failing) can be run with
python3 t0001-flux.py
and require both an ATS installation and running flux session. We ultimately decided to go with an implementation of regression testing for Flux on Quartz instead.The tests were supposed to test whether fluxScheduled.py is able to construct valid jobspecs from valid ATS tests, and vice versa.