Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support custom test groups #7

dag opened this Issue Dec 2, 2012 · 1 comment


None yet
2 participants

dag commented Dec 2, 2012

Such that if I have

test_someTests :: [Test]
test_someTests = [ testCase ... ]

tests = $testGroupGenerator

The generator will pick it up as

tests = testGroup "SomeModule" [ testGroup "someTests" test_someTests, ... ]

test-framework already supports nested groups like this, and I'd like to use it to make some generated test cases show more detail in the output. It also makes it possible to run individual tests with greater control, and also parallelizes better.


dag commented Dec 2, 2012

I have this working now; I'll just write the docs for it and make a pull request.

@finnsson finnsson closed this in bb35bad Dec 2, 2012

finnsson added a commit that referenced this issue Dec 2, 2012

Merge pull request #8 from dag/testGroup
Support custom test groups, closes #7

Thanks for the pull request. I'll upload a new version to HackageDB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment