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

PublishJUnitResults task #10

Merged
merged 4 commits into from
Apr 10, 2015
Merged

PublishJUnitResults task #10

merged 4 commits into from
Apr 10, 2015

Conversation

madhurig
Copy link
Contributor

@madhurig madhurig commented Apr 8, 2015

Task to find Junit test result files and publish merged results to one test run in VSO/TFS

@chrispat
Copy link
Contributor

chrispat commented Apr 8, 2015

I thought we were going to add options to the ant and maven tasks for uploading unit test results produced there. I don't think we want a separate task for this.

…nners instead of specific task for JUnit results
@madhurig
Copy link
Contributor Author

madhurig commented Apr 8, 2015

We agree having a separate task to publish test results would be useful but made the task generic to handle JUnit and VSTest results. We plan to add support for NUnit.

}

Write-Verbose "Calling Publish-TestResults"
Publish-TestResults -TestRunner $testRunner -TestResultsFiles $testResultsFiles -WorkingFolder $cwd -Platform $platform -Configuration $configuration -Context $distributedTaskContext
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change this to use Find-Files and then pass the list of files to the publish code. I would prefer to keep the various cmdlets operating on a fixed set of things instead of doing their own discovery logic.

chrispat added a commit that referenced this pull request Apr 10, 2015
@chrispat chrispat merged commit ae8ee80 into master Apr 10, 2015
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.

2 participants