tasty-test-reporter 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+18/−11 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- tasty-test-reporter.cabal +2/−2
- test/Main.hs +16/−9
tasty-test-reporter.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: c8a1f59b0843cd174a083bfb3b30abf277d9a55d0b0e64398a666d1830a97bec+-- hash: 4be19079a1c6b7f9a72566bedf7659d2454ce89e2e4cb3453bed91ca5b9ac59c name: tasty-test-reporter-version: 0.1.0.2+version: 0.1.0.3 synopsis: Producing JUnit-style XML test reports. description: Please see the README at <https://github.com/stoeffel/tasty-test-reporter>. category: Testing
test/Main.hs view
@@ -15,13 +15,20 @@ tests = testGroup "Unit tests"- [ testCase "List comparison (smaller length)" $- [1, 2, 3] `compare` [1, 2] @?= LT,- testCase "List comparison (longer length)" $- [1, 2] `compare` [1, 2, 3] @?= GT,- testCase "List comparison (EQ length)" $- [1, 2, 3] `compare` [1, 2, 3] @?= EQ,- testGroup- "sub group"- [testCase "foo" $ fail "asdf"]+ [ testCase "List comparison (smaller length)" $ [1, 2] `compare` [1, 2, 3] @?= LT ]+-- Example for failing tests+-- tests :: TestTree+-- tests =+-- testGroup+-- "Unit tests"+-- [ testCase "List comparison (smaller length)" $+-- [1, 2, 3] `compare` [1, 2] @?= LT,+-- testCase "List comparison (longer length)" $+-- [1, 2] `compare` [1, 2, 3] @?= GT,+-- testCase "List comparison (EQ length)" $+-- [1, 2, 3] `compare` [1, 2, 3] @?= EQ,+-- testGroup+-- "sub group"+-- [testCase "foo" $ fail "asdf"]+-- ]