예제 #1
0
from pyinq import discover_tests

if __name__ == "__main__":
    suite = discover_tests('.')
    print "SUITE: " + str(suite.name)
    for module in suite:
        print "\tMODULE: " + str(module.name)
        for cls in module:
            print "\t\tCLASS: {cls.name} (SUITE: {cls.suite})".format(cls=cls)
            for test in cls:
                print "\t\t\tTEST: {test.name} (SUITE: {test.suite})".format(
                    test=test)
예제 #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

if __name__ == "__main__":
    suite = discover_tests('examples', "assert*")
    if suite:
        print "HERE"
        suite()
예제 #4
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'))
예제 #5
0
from pyinq import discover_tests

suite = discover_tests("examples", suite="suite1")
if suite:
    report = suite()
    report.print_()
예제 #6
0
파일: snapshot.py 프로젝트: Auzzy/pyinq
from pyinq import discover_tests

if __name__=="__main__":
	suite = discover_tests('.')
	print "SUITE: " + str(suite.name)
	for module in suite:
		print "\tMODULE: " + str(module.name)
		for cls in module:
			print "\t\tCLASS: {cls.name} (SUITE: {cls.suite})".format(cls=cls)
			for test in cls:
				print "\t\t\tTEST: {test.name} (SUITE: {test.suite})".format(test=test)
예제 #7
0
from pyinq import discover_tests

suite = discover_tests('examples', suite="suite1")
if suite:
    report = suite()
    report.print_()
예제 #8
0
from pyinq import discover_tests
from pyinq import printers

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

예제 #9
0
from pyinq import discover_tests


if __name__=="__main__":
	suite = discover_tests('examples',"assert*")
	if suite:
		print "HERE"
		suite()