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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples for unittest module #14

Open
JosXa opened this issue Oct 19, 2020 · 0 comments
Open

Examples for unittest module #14

JosXa opened this issue Oct 19, 2020 · 0 comments
Labels
good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@JosXa
Copy link
Owner

JosXa commented Oct 19, 2020

This should be a simple first issue for someone who has experience with the stdlib unittest module, perfectly suited for Hacktoberfest 馃グ

There is already a pytest suite in the examples folder. It would be nice to also include a sample test suite for the builtin Python unittest module for devs who are more familiar with that.

I have no idea how asyncio works in combination with unittest, but that is obviously a requirement.
What I'm expecting would be that you pick any bot (it can even be your own if you're sure it's going to stay online a high percentage of time) and create some class-based and function-based tests for basic bot functionality based on what you know are good testing practices.

@JosXa JosXa changed the title Write examples for unittest module Examples for unittest module Oct 19, 2020
@JosXa JosXa added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant