A simple unit test framework that makes readable output not a complete pain in my rear.
Writing tests:
- Import everything from tinytest.test
- Inherit your tests from TestClass
- Use decorators to assign your test fixtures & descriptions
- Use the built-in logger for any debug output you need
Running tests:
- Import tinytest.TinyTester
- Initialize the test runner with a custom log level, if desired.
- Call the test runner's run method, passing in all the test classes you want to run.
- Get results in the console log as well as a local file!