CoolFace
Apppublic

coding-alt/AutoGPT

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
tests.py22 linesDownload Raw Back to root
1import unittest2 3import coverage4 5if __name__ == "__main__":6    # Start coverage collection7    cov = coverage.Coverage()8    cov.start()9 10    # Load all tests from the 'autogpt/tests' package11    suite = unittest.defaultTestLoader.discover("./tests")12 13    # Run the tests14    unittest.TextTestRunner().run(suite)15 16    # Stop coverage collection17    cov.stop()18    cov.save()19 20    # Report the coverage21    cov.report(show_missing=True)22