jsonFile="report", htmlFile="report", sqlFile="report", runSettings=runSettings, testSettings=testSettings) testfilter = makeFilter(args.include, args.exclude) testrange = makeSlice(args.slice) if args.list: app.printTestList(testrange=testrange, testfilter=testfilter) exit(0) try: app.runTests(testrange=testrange, testfilter=testfilter, onlyRunFailed=args.failed) app.saveJson() header = None if args.header and os.path.exists(args.header): with open(args.header) as f: header = f.read() footer = None if args.footer and os.path.exists(args.footer): with open(args.footer) as f: footer = f.read() app.saveHtml(header=header, footer=footer) if app.success():
jsonFile = "report", htmlFile = "report", sqlFile = "report", runSettings = runSettings, testSettings = testSettings) testfilter = makeFilter(args.include, args.exclude) testrange = makeSlice(args.slice) if args.list: app.printTestList(testrange = testrange, testfilter = testfilter) exit(0) try: app.runTests(testrange = testrange, testfilter = testfilter, onlyRunFailed = args.failed) app.saveJson() header = None if args.header and os.path.exists(args.header): with open(args.header) as f: header = f.read() footer = None if args.footer and os.path.exists(args.footer): with open(args.footer) as f: footer = f.read() app.saveHtml(header = header, footer = footer) if app.success(): print_info("Regression was successful")