Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins fixes #20

Merged
merged 2 commits into from Mar 17, 2017
Merged

Jenkins fixes #20

merged 2 commits into from Mar 17, 2017

Conversation

liskin
Copy link
Contributor

@liskin liskin commented Mar 9, 2017

Two fixes for Jenkins, see the discussion at a01df06#commitcomment-21211275

liskin referenced this pull request Mar 9, 2017
- used for including parent group names
- hence create appropriate "classname" for each "testcase". (turns out "classname" is an required field)
- in additions, add type signature to the `runTest` function to help understanding the application.
Copy link
Contributor

@haishengwu-okta haishengwu-okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@@ -130,11 +131,14 @@ antXMLRunner = Tasty.TestReporter optionDescription runner
Const summary <$ State.modify (+ 1)

runGroup groupName children = Tasty.Traversal $ Functor.Compose $ do
Const soFar <- Reader.withReaderT (++ [groupName]) $ Functor.getCompose $ Tasty.getTraversal children
Const soFar <- Reader.local (groupName :) $ Functor.getCompose $ Tasty.getTraversal children
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:
pre-append groupName then reverse seems a bit waist rather than append to end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appending to a list is generally frowned upon for its computational complexity, but in this case it probably wouldn't be noticeable.

@haishengwu-okta
Copy link
Contributor

@ocharles just in case he missed..

@ocharles
Copy link
Owner

Thanks for the reminder!

@ocharles ocharles merged commit 29386e8 into ocharles:master Mar 17, 2017
@ocharles
Copy link
Owner

Released in tasty-ant-xml-1.1.0.

@liskin liskin deleted the jenkins-fixes branch March 20, 2017 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants