Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 810 Bytes

index.rst

File metadata and controls

27 lines (18 loc) · 810 Bytes

Tutorial

This tutorial will walk you through Test Driven Development using and pytest.

We will develop a small project in this tutorial, test driven of course, which solves the following real-life problem: suppose you want to run some subprocess, and you want to read its output line-by-line in real time and take appropriate action.

An example application might be that you want to monitor live logs and do something whenever a log line has ERROR in it.

Let's call this library LineMonitor.

design e2e_test fail_properly basics/index.rst line_monitor_unit_tests/index.rst