Skip to content

pytest-overwatch is a Jest inspired interactive test runner plugin for pytest. It reruns tests whenever files change and allows you to select a subset of tests to run.

License

squiddy/pytest-overwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-overwatch

License: MIT

pytest-overwatch is a Jest inspired interactive test runner plugin for pytest. It reruns tests whenever files change and allows you to select a subset of tests to run.

Work in progress!

Features

  • re-run tests on file change
  • select subset of tests based on filename
  • select subset of tests based on test name
  • support dropping into debugger on test failure

In action

Motivation

pytest is my go-to test runner for python projects and I use it heavily at work. I usually use the --looponfailure feature of the pytest-xdist plugin on the side, however having worked quite some time with Jest in the javascript world, I was missing two things:

  • ability to rerun all the selected tests constantly - instead of just the failed ones - to discover potential new failures
  • running a subset of all tests easily

Related projects

About

pytest-overwatch is a Jest inspired interactive test runner plugin for pytest. It reruns tests whenever files change and allows you to select a subset of tests to run.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages