tasty-ant-xml 1.0.0.10 → 1.0.0.11
raw patch · 3 files changed
+9/−7 lines, 3 filesdep −reducersPVP ok
version bump matches the API change (PVP)
Dependencies removed: reducers
API changes (from Hackage documentation)
Files
- Changelog.md +4/−0
- Test/Tasty/Runners/AntXML.hs +4/−5
- tasty-ant-xml.cabal +1/−2
Changelog.md view
@@ -1,3 +1,7 @@+# 1.0.0.11++* Remove dependency on `reducers`. Thanks to @jdnavarro+ # 1.0.0.9 * Build with tasty < 0.10
Test/Tasty/Runners/AntXML.hs view
@@ -15,7 +15,6 @@ import Data.Maybe (fromMaybe) import Data.Monoid (Monoid(..), Endo(..), Sum(..)) import Data.Proxy (Proxy(..))-import Data.Semigroup.Applicative (Traversal(..)) import Data.Tagged (Tagged(..)) import Data.Typeable (Typeable) import GHC.Generics (Generic)@@ -71,7 +70,7 @@ return $ \statusMap -> let - runTest _ testName _ = Traversal $ Functor.Compose $ do+ runTest _ testName _ = Tasty.Traversal $ Functor.Compose $ do i <- State.get summary <- lift $ STM.atomically $ do@@ -113,8 +112,8 @@ Const summary <$ State.modify (+ 1) - runGroup groupName children = Traversal $ Functor.Compose $ do- Const soFar <- Functor.getCompose $ getTraversal children+ runGroup groupName children = Tasty.Traversal $ Functor.Compose $ do+ Const soFar <- Functor.getCompose $ Tasty.getTraversal children let grouped = appEndo (xmlRenderer soFar) $ XML.node (XML.unqual "testsuite") $ XML.Attr (XML.unqual "name") groupName@@ -125,7 +124,7 @@ in do (Const summary, tests) <-- flip State.runStateT 0 $ Functor.getCompose $ getTraversal $+ flip State.runStateT 0 $ Functor.getCompose $ Tasty.getTraversal $ Tasty.foldTestTree Tasty.trivialFold { Tasty.foldSingle = runTest, Tasty.foldGroup = runGroup } options
tasty-ant-xml.cabal view
@@ -1,5 +1,5 @@ name: tasty-ant-xml-version: 1.0.0.10+version: 1.0.0.11 synopsis: Render tasty output to XML for Jenkins description: A tasty ingredient to output test results in XML, using the Ant schema. This XML can be consumed by the Jenkins continuous integration framework. homepage: http://github.com/ocharles/tasty-ant-xml@@ -21,7 +21,6 @@ containers >= 0.4.2.0, generic-deriving >= 1.6.2, mtl >= 2.1.2,- reducers >= 3.10.1, stm >= 2.4.2, tagged >= 0.7, tasty >= 0.10 && < 0.11,