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

Even Better Tests! #22

Open
MahdiBM opened this issue Nov 1, 2022 · 0 comments
Open

Even Better Tests! #22

MahdiBM opened this issue Nov 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@MahdiBM
Copy link
Collaborator

MahdiBM commented Nov 1, 2022

Problem

Penny doesn't have enough unit-tests, which means we'll have to test more in production.
Testing in production means we'll be disrupting users that are expecting the bot to work, which is not good.

What to do?

We need to have good-enough unit-tests so we can trust Penny to be working properly after an update.

How?

In #21 we added all required abstractions that are needed for testability.
Now, writing tests is only a matter of writing some code in the test targets, and won't require much changes elsewhere.

@MahdiBM MahdiBM added the enhancement New feature or request label Nov 1, 2022
@MahdiBM MahdiBM changed the title Event Better Tests! Even Better Tests! Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant