Share via

Testing through pipeline for a node repository

Akarshan Sonkar 80 Reputation points
2025-11-10T10:10:34.4+00:00

Hey there,

i have been trying to run test cases through pipeline, example, i have tried for java repository so i got the configuration option while creating a new pipeline but for node i am not getting any suitable configuration for testing.

User's image

Azure DevOps

Answer accepted by question author

Rakesh Mishra 9,700 Reputation points Microsoft External Staff Moderator
2025-11-10T19:05:00.81+00:00

Hi @Akarshan Sonkar ,

Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

The options that your see are templates to get you started in a specific tech stack.

If you want to create for node, just select the Node.js + if any other technology you are using and you can use below reference link to configure Unit testing run in pipelines.

https://learn.microsoft.com/en-in/azure/devops/pipelines/ecosystems/customize-javascript?view=azure-devops&tabs=yaml#unit-testing

There are 2 basic steps.

  1. run your JavaScript tests
  2. publish the results using the Publish test results task.

Please let me know if any further question on this.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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