While #98 refers to throwing errors when test result files are not found, the PublishTestPlanResults task should, at a minimum, warn when no tests were resolved from the test results.
As an enhancement, the task could support input parameters similar to the PublishTestResults@2's failTaskOnMissingResultsFile:
While #98 refers to throwing errors when test result files are not found, the
PublishTestPlanResultstask should, at a minimum, warn when no tests were resolved from the test results.As an enhancement, the task could support input parameters similar to the
PublishTestResults@2'sfailTaskOnMissingResultsFile:failTaskOnMissingResultsFile:PublishTestResults@2isfalse. The task presently fails when no test results are found so if we default the value to false this may break compatibility expectations if teams are using this task to ensure test results are present.failTaskOnMissingTests:failTaskOnUnmatchedTestCases: