huetiful
huetiful copied to clipboard
test: rewrite unit tests with all possible edge cases
Properly test functions by going through all possible edge cases
Creating the test suite
For functions with complex use cases, create an object with the test parameters. This will require refactoring and creating helper functions to iterate the test suites.
Below is a run down of the possible stages:
- [ ] Create objects with test parameters, complex utilities should be tested in isolation.
- [ ] Test each module in isolation
- [ ] 100% test coverage for all exported symbols
Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for a maintainer to decide if it is ready to be worked on.
To claim an issue, please leave a comment that says ".take". If you have any questions, feel free to ping a maintainer.