blob is binary.
69a3'>084a0743 ^
index : mu | |
Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society. | Kartik K. Agaram <vc@akkartik.com> |
about summary refs log blame commit diff stats |
#!/usr/bin/python3
"""Run all the tests inside the test/ directory as a test suite."""
if __name__ == '__main__':
import unittest
from test import *
tests = []
for key, val in vars().copy().items():
if key.startswith('tc_'):
tests.extend(v for k,v in vars(val).items() if type(v) == type)
suite = unittest.TestSuite(map(unittest.makeSuite, tests))
unittest.TextTestRunner(verbosity=2).run(suite)