Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rewrite unit tests with all possible edge cases #212

Open
3 tasks
prjctimg opened this issue Jul 23, 2024 · 1 comment
Open
3 tasks

test: rewrite unit tests with all possible edge cases #212

prjctimg opened this issue Jul 23, 2024 · 1 comment
Assignees
Labels
📦 chore Other changes that don't modify src or test files
Milestone

Comments

@prjctimg
Copy link
Owner

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 prjctimg added the 📦 chore Other changes that don't modify src or test files label Jul 23, 2024
@prjctimg prjctimg added this to the v3 milestone Jul 23, 2024
@prjctimg prjctimg self-assigned this Jul 23, 2024
Copy link

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.

@prjctimg prjctimg moved this to Todo in huetiful Jul 23, 2024
@prjctimg prjctimg changed the title tests: rewrite unit tests with all possible edge cases test: rewrite unit tests with all possible edge cases Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 chore Other changes that don't modify src or test files
Projects
Status: Todo
Development

No branches or pull requests

1 participant