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

Add Unit Tests #21

Open
3 tasks
mpriscella opened this issue Feb 10, 2024 · 0 comments
Open
3 tasks

Add Unit Tests #21

mpriscella opened this issue Feb 10, 2024 · 0 comments

Comments

@mpriscella
Copy link
Owner

mpriscella commented Feb 10, 2024

Unit tests should be added to avoid regressions when changing logic. It seems that the most mature unit testing framework is zunit, which is based off BATS.

It's not feasible to get 100% code coverage in one go, so the scope of this issue should be limited to just a couple proof of concept tests.

  • Write proof of concept zunit tests
  • VSCode task definition to run the zunit tests
  • GitHub action that runs zunit tests on PR creation / modification and reports failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant