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 tests #15

Open
a-vanderheiden opened this issue Mar 7, 2024 · 1 comment
Open

Create unit tests #15

a-vanderheiden opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
testing Creating/editing automated tests

Comments

@a-vanderheiden
Copy link
Collaborator

Not sure what tests I will need to create. See the review criteria and look at other published examples to get an idea.

Should consider using github actions too

@a-vanderheiden a-vanderheiden self-assigned this Mar 7, 2024
@a-vanderheiden a-vanderheiden added the testing Creating/editing automated tests label Mar 7, 2024
@a-vanderheiden
Copy link
Collaborator Author

Created some unit tests (tests.py) and hooked them up to run on push with GitHub Actions (test.yml).

I still need to:

  • set up pytest
  • add more tests to cover most of the code base
  • figure out how to install GRASS on the VM used for GitHub Actions
  • prevent pushes if they fail the test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Creating/editing automated tests
Projects
None yet
Development

No branches or pull requests

1 participant