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 UA 🇺🇦 react #81

Open
chanomkaimuk opened this issue Jul 13, 2024 · 0 comments
Open

Add tests for UA 🇺🇦 react #81

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

Comments

@chanomkaimuk
Copy link
Contributor

  • UA reacts are defined in resources/reacts/ua.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 Ukrainian 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.
@chanomkaimuk chanomkaimuk 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

No branches or pull requests

1 participant