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.
The priority calculation can be improved if the tests are already sorted by priority, however because of the global module initializations in prioritize(), it cannot be overridden without overridding all methods that reference machine or configuration.
Splitting the priority calculation into a separate method allows it to be overridden easily.
The priority calculation can be improved if the tests are already sorted by priority, however because of the global module initializations in prioritize(), it cannot be overridden without overridding all methods that reference machine or configuration.
Splitting the priority calculation into a separate method allows it to be overridden easily.