homepage: https://github.com/merijn/paramtree
changelog-type: ''
hash: 891c647843ea2bef4f09799d5e33df146ba9e72c4266c89f19c3613bad1be066
test-bench-deps:
  bytestring: ! '>=0.10 && <0.11'
  base: -any
  tasty-golden: ! '>=2.0 && <2.4'
  paramtree: -any
  tasty-hunit: ==0.9.*
  temporary: ==1.2.*
  tasty: ! '>=0.11 && <0.13'
maintainer: Merijn Verstraaten <merijn@inconsistent.nl>
synopsis: Generate labelled test/benchmark trees from sets of parameters
changelog: ''
basic-deps:
  base: ! '>=4.6 && <5'
  containers: ! '>=0.4 && <0.6'
all-versions:
- '0.1.0'
author: Merijn Verstraaten
latest: '0.1.0'
description-type: markdown
description: ! "ParamTree\n=========\n[![BSD3](https://img.shields.io/badge/License-BSD-blue.svg)](https://en.wikipedia.org/wiki/BSD_License)\n[![Hackage](https://img.shields.io/hackage/v/paramtree.svg)](https://hackage.haskell.org/package/paramtree)\n[![Build
  Status](https://travis-ci.org/merijn/paramtree.svg)](https://travis-ci.org/merijn/paramtree)\n\n**ParamTree**
  library for generating labelled test/benchmark trees from sets of\nparameters. Example
  usecases include criterion benchmark trees or tasty test\ntrees.\n\nExample\n-------\n\n```haskell\nimport
  Test.Tasty\nimport Test.Tasty.HUnit\n\ngenTestCase :: Int -> Bool -> Char -> String
  -> TestTree\ngenTestCase i b c name = testCase name $ {- your code here -}\n\nparams
  = 'simpleParam' \\\"Int\\\" [1,2]\n       . 'simpleParam' \\\"Bool\\\" [True]\n
  \      . 'simpleParam' \\\"Char\\\" \"xyz\"\n\nmain :: IO ()\nmain = defaultMain
  $ testTree genTestCase params\n  where\n    testTree = growTree (Just \"/\") testGroup
  \"my tests\"\n```\n\nThis generates a tasty TestTree with all combinations of values
  passed to\n`genTestCase`. If the `Maybe String` argument is provided like in the
  above\nexample, groups with a single entry, such as \"Bool\" get collapsed into
  their\nparent groups. So instead of a \"1 Int\" group containing a \"True Bool\"
  group\nthey get collapsed into a single \"1 Int/True Bool\" group, where the \"/\"\nseparator
  is the one specified by `Just \"/\"`.\n"
license-name: BSD3

Update from Hackage at 2017-11-04T23:39:49Z
Update from Hackage at 2017-11-04T23:39:49Z
