Skip to content
Rerun previous test suite runs to run only failing tests
Haskell Nix
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Test/Tasty/Ingredients
.gitignore
Changelog.md
LICENSE
README.md
Setup.hs
default.nix
shell.nix
tasty-rerun.cabal

README.md

tasty-rerun

Often when we are building large projects in Haskell we only change a small part of the system at a time. With tasty, you get the ability to specify patterns, which let you filter the test tree down to a smaller size. However, this is a manual process, and it doesn't necessarily have to be that way.

tasty-rerun allows you to run your tests using a normal tasty Ingredient, but also filtering the test tree based on previous runs. tasty-rerun gives you the option to:

  • Run tests that failed or threw exceptions in the last test run
  • Run tests that have been added since the last saved test run
  • Run tests that passed in the last test run

tasty-rerun works by watching the result of a test run and saving a state file (if you ask it to). Future test runs can use this log file to determine what subtree(s) to execute.

You can’t perform that action at this time.