Skip to content

Chapter 9: Unit Testing #11

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

Open
joshuamabina opened this issue May 21, 2020 · 1 comment
Open

Chapter 9: Unit Testing #11

joshuamabina opened this issue May 21, 2020 · 1 comment
Assignees
Labels
class notes New class notes or request

Comments

@joshuamabina
Copy link
Contributor

joshuamabina commented May 21, 2020

Unit Testing is the first level of software testing where the smallest testable parts of a software are tested. This is used to validate that each unit of the software performs as designed. The unittest test framework is python's xUnit style framework.

Source: https://diveintopython3.net/unit-testing.html


Review Questions

  1. What is Test-Driven Development (TDD)?
  2. Why does Test-Driven Development matter?
  3. What is Unit Testing?
  4. Why does Unit Testing matter?
  5. How does Test-Driven Development differ from Unit Testing?
  6. Not every automated test is a unit test. Discuss.
  7. What makes a unit test good or bad?
  8. It is not enough to test for success. Discuss.
  9. Apart from unittest, are there any other Pythonic unit testing libraries we can leverage?
@joshuamabina joshuamabina self-assigned this May 21, 2020
@joshuamabina joshuamabina added the class notes New class notes or request label May 21, 2020
@BaharaJr
Copy link
Collaborator

BaharaJr commented May 22, 2020

For further reading, check out these Pythonic unit testing resources:

  1. unittest - Introduction
  2. Unit Testing in Python - GeeksforGeeks
  3. unittest — Python 3.8 Documentation
  4. Testing 101: Introduction to Testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class notes New class notes or request
Projects
None yet
Development

No branches or pull requests

3 participants