tasty-silver-3.1.9: A fancy test runner, including support for golden tests.

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Silver.Filter

Description

Regex filtering for test trees.

Synopsis

Documentation

checkRF Source #

Arguments

:: Bool

If true, ignore 1. condition if no RFInclude is given.

-> [RegexFilter] 
-> TestPath 
-> Bool 

Check if the given path should be kept using regex filters. A Tree leaf is retained if the following conditions are met: 1. At least one RFInclude matches. 2. No RFExclude filter matches.