Post #3963178
2026-07-20 15:36 UTC
Codeberg's outage seems to be resolved. So I've uploaded the code, for anyone interested in taking this for a spin.
https://codeberg.org/paulshryock/best
Replies (1)
-
@paulshryock@phpc.social 2026-07-20 18:17
Here's the whole test runner. It's only 24 lines of Bash. I ended up skipping the "expect" method since it wasn't adding much value. "it" will pass or fail a test based on the most recent exit code. Writing tests is literally this simple: ```bash it "should pass" $(test 1 == 1) it "should fail" $(test 1 == 2) ``` Just run anything after the test description which either exits 0 (pass) or any other number (fail).