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

Potential improvements to the testing a Python code lecture #213

Open
5 tasks
IshaanDesai opened this issue Jan 15, 2025 · 0 comments
Open
5 tasks

Potential improvements to the testing a Python code lecture #213

IshaanDesai opened this issue Jan 15, 2025 · 0 comments
Assignees

Comments

@IshaanDesai
Copy link
Member

IshaanDesai commented Jan 15, 2025

During the lecture of testing a Python code in the winter semester 2024/25, the following points are potential places of improvements came up:

  • Mention the teardown/cleanup functionality in pytest.
  • Explain unittest test discovery mechanism in detail.
  • If time permits, explain more features of tox.
  • Change the code example used in the lecture demo to have two functions which actually affect each others behavior, so that the integration test actually makes sense. Right now the integration test is written just for the sake of it, without any logical reason.
  • Explicitly mention in the demo notes what the -m option in the coverage command does.
@IshaanDesai IshaanDesai self-assigned this Jan 15, 2025
@IshaanDesai IshaanDesai changed the title Potential improvements to the testing a Python code lecture content Potential improvements to the testing a Python code lecture Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant