| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Convex.Tasty.Streaming.TreeMap
Documentation
buildTestMap :: OptionSet -> (Int -> Int) -> TestTree -> IO (IntMap TestInfo) Source #
Build a mapping from test indices to test metadata.
The indices correspond to the order tests appear during a fold of the TestTree, which is the same order Tasty uses when building the StatusMap.
Test ids correspond to StatusMap indices when there's no test filtering with --test-id. If --test-id options are used then the passed remapId will convert StatusMap indices to test indices.