Tidbits | Oct. 20, 2011

PEP712 - Proposal to make unittest2 more accurate

by Frank Wiles

PEP:| 712
---|---
Title:| Proposal to make unittest2 more accurate
Version:| a58437babcaa
Last-Modified:| 2011-10-20T14:40:01.661119 (Thu, 20 Oct 2011)
Authors:| Frank Wiles frank@revsys.com, Jacob Kaplan-Moss jacob@jacobian.org, Jeff Triplett jeff@revsys.com
Status:| Draft
Type:| Humor
Created:| 20-Oct-2011
Python-Version| 2.7

Introduction

This PEP describes a proposal to make unittest2 output more accurate and fun.

The Proposed Solution

Upon having more than 7 failing tests in a test run replace all 'F' character output with 'U's for the remainder of the test run.

Rationale

This output formatting more accurately describes the mental state of the developer.

Example

.....FFFFFFFUUUUUUUUUUUUUUUUU
CK
----------------------------------------------------------------------
Ran 25 tests in 3.14159s
FAILED (failures=19)

`

Optional Add-On

Replace next passing test after 19 failures with 'CK'.

Reference Implementations

See Reddit.com

References

@f7u12
F7U12

2011-10-20T14:35:56 2018-04-18T16:24:41.687059 2011 django programming python