Azure DevOps server 2022 - View execution of in-progress tests orchestrated with Maven

Nicolas Wright 0 Reputation points
2025-01-29T16:12:37.0466667+00:00

We are executing selenium tests using maven and the output of our task is a very standard JUNIT output. We do see a tab added to out build output with the test results which is helpful, now we need the output as we run the tests, how can we achieve that?

Per the documentation https://learn.microsoft.com/en-us/azure/devops/pipelines/test/review-continuous-test-results-after-build?view=azure-devops#view-execution-of-in-progress-tests it is possible to do so using the task VSTest@3 (https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/vstest-v2?view=azure-pipelines-2022.2) , but I don't see mention anywhere of maven in that documentation.

is it supported? any workaround we can think of?
thank you

  - task: Maven@4
    inputs:
      mavenPOMFile: 'pom.xml'
      mavenOptions : '-Xmx3g'
      jdkArchitectureOption: 'x64'
      publishJUnitResults: true
      testResultsFiles: '**/surefire-reports/TEST-*.xml'
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
358 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,816 Reputation points Microsoft Vendor
    2025-01-30T04:52:13.08+00:00

    Hi @Nicolas Wright

    Welcome to Microsoft Q&A! 

    Your issue is related to Azure DevOps, please report it in dedicated Azure DevOps forum. 

    Thanks for your understanding. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.