Last updated:
0 purchases
boxtest 0.3.1
box-test
Basic testing framework that prints beautiful errors.
from boxtest import Tester
async def myAsyncTest(text):
print('foo')
print(text)
def mySyncTest(framework):
print('Whats the best testing framework?')
if framework.lower() == 'boxtest':
print('boxtest is correct!')
else:
raise Exception('Wrong!')
if __name__ == '__main__':
tester = Tester()
tester.addAsyncTest(myAsyncTest('bar'))
tester.addSyncTest(framework, 'unittest')
tester.addSyncTest(framework, 'boxtest')
tester.run()
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.