Exemple #1
0
def run_all(args):
    suite = _discover.get_suite(config.SUITE)
    
    report = suite()
    print
    
    if config.REPORT_ACTION == config.ActionEnum.WRITE:
        report.write()
    else:
        report.print_()
Exemple #2
0
def run_all(args):
    suite = _discover.get_suite(config.SUITE)

    report = suite()
    print

    if config.REPORT_ACTION == config.ActionEnum.PRINT:
        report.print_()
    else:
        report.write(config.REPORT_OUTFILE)
Exemple #3
0
def discover_tests_api(root, pattern=".*", suite=None):
    if _discovery_enabled:
        _discover_tests(root, pattern)
        return _discover.get_suite(suite)
Exemple #4
0
def discover_tests_api(root, pattern=".*", suite=None):
    if _discovery_enabled:
        _discover_tests(root, pattern)
        return _discover.get_suite(suite)