Commit graph

8 commits

Author SHA1 Message Date
f0baf7d480 test: improve style of the test output
Add more space around the text, also make the text a readable color on
dark backgrounds.
2022-10-06 07:41:44 +01:00
3e7cd988b5 test: fix the after_each hook not getting called
When writing tests the `after_each` function was never getting called
due to the `before_each` function getting called instead
2022-10-06 07:32:46 +01:00
e9cdd40c74 fix: crash in IvyLines 2022-09-18 19:58:09 +01:00
Xymist
12a1a64c54 Format and clippy 2022-08-26 10:25:05 +01:00
ac01e9e9a4 docs: update the build info and benchmark status 2022-08-25 21:01:19 +01:00
Ade Attwood
1ae47813d7 feat: add benchmarks 2022-08-07 16:41:51 +01:00
Ade Attwood
acbf91d0dc test: add hooks to test scripts
Now you can use `before` `before_each` `after` and `after_each`. Each of
the hooks will run in the context of the test file.

`before` This will run once before all the tests
`before_each` This will run before each of the test functions
`after` Will run once after all the test functions
`after_each` Will run after each one of the test functions

Multiple functions can be defined for each hook by calling the
respective function again.
2022-08-06 14:16:12 +01:00
Ade Attwood
617f6a98cc test: a test script and some tests
This adds the start of the test suite that we can add into CI to ensure
we are not pussing a broken build.
2022-08-06 10:45:04 +01:00