huetiful icon indicating copy to clipboard operation
huetiful copied to clipboard

test: rewrite unit tests with all possible edge cases

Open prjctimg opened this issue 1 year ago • 1 comments

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

prjctimg avatar Jul 23 '24 14:07 prjctimg

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.

github-actions[bot] avatar Jul 23 '24 14:07 github-actions[bot]