Jpp
18.0.0
the software that should make you happy
|
Classes | |
class | TestSuite |
class | TestCase |
Functions | |
def | main |
def | write_junit_xml |
def | print_captured_output |
def | run_tests |
def | decode |
Variables | |
tuple | PY2 = sys.version_info<(3, 0, 0) |
unichr = chr | |
string | __author__ = "Tamas Gal" |
string | __credits__ = "Brian Beyer" |
string | __license__ = "MIT" |
string | __email__ = "tgal@km3net.de" |
string | __status__ = "Development" |
list | TESTS_DIR = sys.argv[1] |
string | JUNIT_XML = 'out/junit_{}.xml' |
string | INFO = '\033[94m' |
string | OK = '\033[92m' |
string | FAIL = '\033[91m' |
string | RST = '\033[0m' |
string | BOLD = '\033[1m' |
def run_tests.main | ( | ) |
def run_tests.write_junit_xml | ( | test_results | ) |
Generate XML file according to JUnit specs
Definition at line 76 of file run_tests.py.
def run_tests.print_captured_output | ( | test_results | ) |
def run_tests.run_tests | ( | tests_dir | ) |
Runs each script in the tests directory and returns the results. Parameters ---------- tests_dir: str The path to the test dir, containing the test scripts (`*.sh`). Returns ------- dict: key = script path, value = (exit_code, elapsed_time, stdout, stderr)
Definition at line 105 of file run_tests.py.
def run_tests.decode | ( | var, | |
encoding | |||
) |
tuple run_tests.PY2 = sys.version_info<(3, 0, 0) |
Definition at line 26 of file run_tests.py.
run_tests.unichr = chr |
Definition at line 31 of file run_tests.py.
string run_tests.__author__ = "Tamas Gal" |
Definition at line 33 of file run_tests.py.
string run_tests.__credits__ = "Brian Beyer" |
Definition at line 34 of file run_tests.py.
string run_tests.__license__ = "MIT" |
Definition at line 35 of file run_tests.py.
Definition at line 36 of file run_tests.py.
string run_tests.__status__ = "Development" |
Definition at line 37 of file run_tests.py.
list run_tests.TESTS_DIR = sys.argv[1] |
Definition at line 39 of file run_tests.py.
string run_tests.JUNIT_XML = 'out/junit_{}.xml' |
Definition at line 40 of file run_tests.py.
string run_tests.INFO = '\033[94m' |
Definition at line 43 of file run_tests.py.
string run_tests.OK = '\033[92m' |
Definition at line 44 of file run_tests.py.
string run_tests.FAIL = '\033[91m' |
Definition at line 45 of file run_tests.py.
string run_tests.RST = '\033[0m' |
Definition at line 46 of file run_tests.py.
string run_tests.BOLD = '\033[1m' |
Definition at line 47 of file run_tests.py.