boxtest 0.3.1

Last updated:

0 purchases

boxtest 0.3.1 Image
boxtest 0.3.1 Images
Add to Cart

Description:

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()

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.