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 tests for meow react #83

Open
brownsugar-bobamilktea opened this issue Jul 13, 2024 · 0 comments
Open

Add tests for meow react #83

brownsugar-bobamilktea opened this issue Jul 13, 2024 · 0 comments
Labels
tests Tests for a feature are needed

Comments

@brownsugar-bobamilktea
Copy link
Contributor

  • Meow reacts are defined in resources/reacts/meow.json
    • Use keywords in criteria as positive test cases (cases that produce a match)
  • Create a test file in tests/test_reacts/ to test for meow test cases.
  • The easiest way is to use the tests/test_reacts/test_reacts_cz.py as a reference.
  • To locally test the code: run poetry run python -m pytest tests/ -v -s. You can also just push the code as it will also trigger the actions, but it will take some time.
@brownsugar-bobamilktea brownsugar-bobamilktea added the tests Tests for a feature are needed label Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests for a feature are needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant