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

Ant and jenkins modes #82

Merged
merged 11 commits into from Apr 17, 2019
Merged

Ant and jenkins modes #82

merged 11 commits into from Apr 17, 2019

Conversation

clayreimann
Copy link
Collaborator

@yonjah I've combined #74 and #75 in this PR. I've somehow broken one of the Jenkins tests, I hope to fix it tomorrow.

I have slightly changed the behavior of your deduceConfig function. The search order is now config -> env -> default instead of env -> config -> default. If you have a good argument for the older behavior, please share it. Otherwise please validate that I've faithfully merged your work in here.

Closes #70
Closes #71
Closes #74
Closes #75

Copy link
Contributor

@yonjah yonjah left a comment

Choose a reason for hiding this comment

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

@clayreimann I found a few issues, but I might have missed something.

I think it's common practice to give env variables priority over other config as they are more dynamic. But I guess you can go either way

test/mocha-junit-reporter-spec.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
test/mocha-junit-reporter-spec.js Outdated Show resolved Hide resolved
test/mocha-junit-reporter-spec.js Outdated Show resolved Hide resolved
@clayreimann
Copy link
Collaborator Author

@yonjah I've updated my PR with your comments. The tests are passing, maybe you could take it for a spin in whatever builds you're running to ensure it behaves as you expect?

@yonjah
Copy link
Contributor

yonjah commented Apr 9, 2019

Thanks @clayreimann I'll try to do it today

@yonjah
Copy link
Contributor

yonjah commented Apr 9, 2019

I ran my tests using this version and couldn't find any issues with the reports.
@soryy708 might wanna have a look as well, but on my end it looks good

@clayreimann
Copy link
Collaborator Author

And the crickets have it, merging as is.

@soryy708, if you find bugs with this implementation open an issue.

@clayreimann clayreimann merged commit 6d89b63 into master Apr 17, 2019
@clayreimann clayreimann deleted the ant-and-jenkins-modes branch April 17, 2019 01:56
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.

Shared classname between all tests in a testsuite
2 participants