failure report

What the test runner prints when a test fails: which test, which line, and the values that did not match.

In more detail

In pytest a failure report shows a letter F in the progress line, a banner with the test name, the reprinted test body with the failing line marked by a greater-than sign, lines starting with E that show the evaluated values, and the file and line number. A good report lets you form a hypothesis without opening the test file.

Example

E   assert 1250 == 1200

Related terms

Taught in

References