act-rules / act-rules-web

Source for ACT Rules website
https://act-rules.github.io/
Other
3 stars 5 forks source link

More scalable approach to test cases? #27

Closed kasperisager closed 4 years ago

kasperisager commented 5 years ago

Test cases are currently written in the same Markdown document as the rules they're testing and are manually assigned consecutive numbers. While this works fine when dealing with a small number of test cases, it quickly becomes unwieldy as the number of test cases increases. To ensure consistent implementations of rules, I think that it is in our best interests to make it easy to write, document, and maintain a large number of test cases for rules. As such, finding a more scalable approach to writing test cases would be great.

Some initial thoughts on requirements:

WilcoFiers commented 5 years ago

Decision: We will add a feature to collapse test cases in the rules page, but keep all test cases in a single markdown file.