Hi folks, I've just polished up and released ggspec v1.0.[1] Ggspec is a unit testing framework targeting Guile 1.8.8, with Guile 2 support in the planning stage. Excerpt from the release notes:
- The `ggspec` script is a test runner that will find and run all tests in your project's `spec` subdirectory (recursively). - Test results (pass or fail) and details (if fail) are output _as soon as they are known._ This means before the next test is run. So you get immediate feedback. - All setups (i.e. definitions) are re-run before _every_ test, and so are all teardowns. This means that all setup values used in tests are completely isolated from each other and every test runs in a clean environment. Modulo, of course, you or some implicitly-run Scheme procedure changing global or thread-local state. - **Warning** that the `test` macro API will change slightly, soon. You should be future-proof if you restrict the test body to a single expression. Use `begin` if you need to. E.g., use: ... (test "Description" e (begin expr1 expr2 exp3 ...)) ... ... instead of: ... (test "Description" e expr1 expr2 exp3 ...) ... Tutorial is on the repo home page.[2] I'd welcome feedback. Regards, Yawar [1] https://github.com/yawaramin/ggspec/releases/tag/v1.0 [2] https://github.com/yawaramin/ggspec
signature.asc
Description: OpenPGP digital signature