Testing Frameworks (Unittest)

0% of 3 hours and 8 minutes completed.

Testing software thoroughly can take nearly as long as writing it in the first place. It is not unusual for unit tests to contain 2 to 10 times more lines of code than the software application under test. Python includes a testing framework similar to frameworks available in many other languages. While writing unit tests, it is important to completely isolate a chunk of code. Due to Python's flexibility, the standard library includes a powerful mocking library.

In this course, two of our top Python instructors join forces to introduce you to the fundamentals of unit testing in Python.

After completing this course, you will be able to:

  • Write unit tests
  • Use the mocking library to isolate systems under test
There are no resources available.
0 attachments
0%
Write unit tests for Python code
1 hour 33 minutes 10 Activities: Article  (1)  |  Lab  (1)  |  Video  (8)
0%
Use mocking to isolate code
1 hour 28 minutes 8 Activities: Article  (1)  |  Lab  (1)  |  Video  (6)
0%
Copyright
1 minute 1 Activity: Article  (1)  |  Lab  (0)  |  Video  (0)
0%
Survey
5 minutes 1 Activity: Article  (1)  |  Lab  (0)  |  Video  (0)