test.success("") print((test.is_assert())) def cleanup(self): print((test.is_assert())) test.is_assert() if __name__ == "__main__": test.run()
@pytestemb.skipif(True, "skip case2") def case_2(self): pytestemb.fail("") def cleanup(self): pass if __name__ == "__main__": pytestemb.run()
import pytestemb as test class MyRun(test.Test): """ @Type Cross Other """ def setup(self): test.fail("") def func_case(self): """ description of fun case""" test.success("") def cleanup(self): pass if __name__ == "__main__": test.run()
import pytestemb class MyRun(pytestemb.Test): def setup(self): pass def case_0(self): pytestemb.success("") def case_1(self): pytestemb.success("") def case_2(self): pytestemb.success("") def cleanup(self): pass def tracecase(name): pass if __name__ == "__main__": pytestemb.set_tracecase(tracecase) pytestemb.run()