Project

General

Profile

Actions

Cleanup #38759

open

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

Added by Ernesto Puerta about 5 years ago. Updated about 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.

Actions

Also available in: Atom PDF