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

Create: unit testing #32

Open
ChristinaSchmidt1 opened this issue Jun 23, 2023 · 0 comments
Open

Create: unit testing #32

ChristinaSchmidt1 opened this issue Jun 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request Intermediate priority Implementation needs to be prioritised

Comments

@ChristinaSchmidt1
Copy link
Member

ChristinaSchmidt1 commented Jun 23, 2023

This is important and should be good practice!

This is done for each function:

  • use default parameters of the function and create input data as part of the unit test by coding. Test different input settings to enable the test of each of the errors, warnings and stops
  • use specific parameters individually and also test with different inputs to allow error/warnings for this particular part of the package.
  • So basically test every possible line of code of the package

Document that you have done this: create a codecov.yml file, which returns a certificate of how much of your code was tested by unit testing (X%)

@ChristinaSchmidt1 ChristinaSchmidt1 added the enhancement New feature or request label Jun 23, 2023
@ChristinaSchmidt1 ChristinaSchmidt1 self-assigned this Jun 23, 2023
@ChristinaSchmidt1 ChristinaSchmidt1 changed the title Make unit testing Create: unit testing Jun 23, 2023
@ChristinaSchmidt1 ChristinaSchmidt1 added the Intermediate priority Implementation needs to be prioritised label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Intermediate priority Implementation needs to be prioritised
Projects
None yet
Development

No branches or pull requests

1 participant