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

Tests #39

Open
djudman opened this issue Aug 12, 2022 · 0 comments
Open

Tests #39

djudman opened this issue Aug 12, 2022 · 0 comments
Assignees

Comments

@djudman
Copy link
Owner

djudman commented Aug 12, 2022

The bot have no tests, it must be fixed.
I think py.test is a standard for testing in python world, so we will use it https://docs.pytest.org/en/7.1.x/

Base plan:

  • test commands
  • test main pipeline
    • send text message
    • send file
    • send voice message
    • send location
  • test switch mode
  • test switch notebook

Test updates data can be placed to json files nearby test

Remember about messages without captions

@djudman djudman self-assigned this Aug 12, 2022
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