Unitron is a testing framework for Picotron. With unitron you can write unit tests and run them directly in Picotron.
More information: https://github.com/elgopher/unitron
The cart is work in progress, but you can test it today by downloading cart from Github.
Current state of the project:
- API for writing tests (assert_xxx functions) is defined and is working fine
- Test runner is also working fine, but has serveral limitations
- folding tests in test tree not implemented
- no horizontal scrolling of console messages
- rather boring UI (for now ;) )
- Minimal documentation
Here is some demo:
Your feedback is greatly appreciated :)
I've just released a new version with a lot of Quality of Life improvements in GUI and some fancy "lights" on the bottom of the window visible when tests are running. I hope you will like it :)
You're very welcome! I'm glad you found it useful. Let me know if you have any questions!
Unitron is getting closer to version 1.0.0. I've just released a 0.5.0 version with interactive results tree (collapsing and expanding of tree nodes) and a new API for writing custom assert functions. Your feedback is highly appreciated :)
I've also uploaded #unitron cart to BBS. You can install it on your Picotron desktop just by typing
load #unitron save /desktop/unitron.p64.png |
[Please log in to post a comment]