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

Rework Python testing lecture #173

Open
IshaanDesai opened this issue Jan 26, 2023 · 1 comment
Open

Rework Python testing lecture #173

IshaanDesai opened this issue Jan 26, 2023 · 1 comment
Assignees

Comments

@IshaanDesai
Copy link
Member

IshaanDesai commented Jan 26, 2023

The Python testing lecture needs revisions with respect to the following points:

  • Add clarification on how assertions are treated when a code is compiled in Release version.
  • Use examples when explaining the concepts of unit, integration and regression testing. A simulation code example would be more appropriate than a toy code.
  • Make it clear that the assertion statement used at the end of each test (for pytest and unittest) is a Python specific thing and not a general testing practice.
  • The slide of test driven development talks about disadvantages of TDD. Sources are necessary here.
  • Set code font in orange. Have a look at the automation lecture slides.
  • In the code of the demo, use one of the two terms mean and average consistently.
@IshaanDesai
Copy link
Member Author

While using the material for teaching, it has become increasingly evident that the toy code used to explain the concepts of unit, integration, and regression tests is too artificial. A simulation code would make the concepts much more easily understandable.

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