VSTest will try to run tests even if none are present in the project. If a project does not have any tests this will result in an unstable result for a Jenkins job that includes the VSTest Runner plugin.
Our use case is that we have a shared library for all .NET projects. Some of the projects have tests and some do not. We would like to not have to configure each Jenkins job to tell if it has tests or not. Instead we wnat the VSTest Runner plugin to be able to skip tests if there are no tests files.
Unfortunately that is not possible using only the command line application vstest.console.exe.
Dennis Lundberg
added a comment - Pull request available here:
https://github.com/jenkinsci/vstestrunner-plugin/pull/82
Joseph Petersen (old)
Dennis Lundberg
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Created:
Updated:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
Pull request available here:
https://github.com/jenkinsci/vstestrunner-plugin/pull/82