Test suite
A step of the Open source library tree on Gradus, in the Quality bar area: Tests, CI, lint, coverage.
Cover the public API with tests that run in one command, so every change can be checked the same way.
Usually comes after: Public repository.
Leads to: CI across versions.
Prompt for your AI assistant
Set up the ecosystem's standard test runner with a `test` script and write tests for every public function or class of this library, including the error cases. Make sure the suite runs in under a minute.This is https://gradus.kazet.blog/tree/open-source-library/step/test-suite as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.