Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec: use macrocache to store total test count (#56)
nimskull does not allow compileTime variable to be reached from potentially runtime code. While this issue could be solved by adding compileTime to totalTests, doing so breaks the variable due to nim-works/nimskull#1022. Instead, store the counter using macrocache, which avoids this issue rather nicely (and is the recommended way in Nim to store these values).
- Loading branch information