Skip to content

nycdatasci/pyautotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyautotest

Example

import autotest

class MyTest(autotest.AutoTestCase):

    def first_test(self):
        self.addPreErrorMsg('pre test 1')
        self.addPostErrorMsg('post test 1')
        self.assertEqual(1, 2)
        
    def another_test(self):
        self.addPreErrorMsg('pre test 2')
        self.addPostErrorMsg('post test 2')
        self.assertEqual(2, 4)


tester = MyTest()
tester.runTest('first_test', 'another_test')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages