test.success("")
        print((test.is_assert()))
        
        
    def cleanup(self):
        print((test.is_assert()))



test.is_assert()


if __name__ == "__main__":
    


    test.run()

    
    
    
    
    
    
    
    
    
    


Exemple #2
0
    @pytestemb.skipif(True, "skip case2")
    def case_2(self):
        pytestemb.fail("")

    def cleanup(self):
        pass





if __name__ == "__main__":
    
    
    
    pytestemb.run()

    
    
    
    
    
    
    
    
    
    


Exemple #3
0
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()
Exemple #4
0
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()