예제 #1
0
파일: _pyinq.py 프로젝트: Auzzy/pyinq
def run_all(args):
    kwargs = {"html":args["html"]}

    suite = tags.get_suite(args["suite"])
    
    if suite:
        report = suite()

        printer = printers.html if args["html"] else printers.get_default()
        printers.print_report(report,printer,**kwargs)
예제 #2
0
from pyinq import discover_tests
from pyinq import printers
from pyinq.printers import html

suite = discover_tests("examples", suite="suite1", pattern="assert_tests")
if suite:
    report = suite()
    printers.print_report(report, html, html=open("deprecated_mapping.html", "w"))
예제 #3
0
from pyinq import discover_tests
from pyinq import printers
from pyinq.printers.deprecated import html

suite = discover_tests('examples', suite="suite1", pattern="assert_tests")
if suite:
	report = suite()
	printers.print_report(report, html, html=open("deprecated.html", 'w'))
예제 #4
0
from pyinq import discover_tests
from pyinq import printers
from pyinq.printers.deprecated import cli

suite = discover_tests('examples', suite="suite1", pattern="assert_tests")
if suite:
	report = suite()
	printers.print_report(report, cli)
예제 #5
0
from pyinq import discover_tests
from pyinq import printers

suite = discover_tests('examples', suite="hello")
if suite:
	report = suite()
	printers.print_report(report)