Project

General

Profile

Cleanup #38759

mgr/dashboard: Add '--watch' functionality to tox unittests

Added by Ernesto Puerta about 5 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Testing & QA
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Mimicking the extremely useful behaviour of jest --watch, which monitors Angular unit test files, and automatically re-runs the ones modified, it'd be nice to have this very same behaviour on back-end (Python) unittests. I manually did this with inotifywait tool (requires inotifytools package).

This is useful both for fixing unit tests after main code changes, or to debugging unit tests themselves.

History

#1 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA

Also available in: Atom PDF