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')
-
Notifications
You must be signed in to change notification settings - Fork 0
nycdatasci/pyautotest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published