Running C# Test Studio Tests in an ADO Pipeline

1 Answer 17 Views
Azure DevOps Coded Tests WPF Testing
Garry
Top achievements
Rank 1
Garry asked on 19 Mar 2025, 09:34 PM

We have built a Test Studio test framework using xUnit and C#. We're able to execute the tests via Visual Studio Test Explorer, but now we would like to implement an ADO Azure pipeline to execute the tests via a nightly schedule. I have reviewed the Test Studio Tests in Azure Devops article, but it seems like it's mainly focused when using the Test Studio application for the automation.

BTW, this is for a WFP desktop application.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 24 Mar 2025, 11:40 AM

Hi Garry,

As far as I understand you would like to execute some unit tests as part of an Azure pipeline. Although you used the Testing Framework within these tests, I have to say that this topic is out of scope for Test Studio and its underlying framework. 

Instead you should focus on the options to execute xUnit tests via command line - this what I managed to find about this topic on the web. I am not familiar with xUnit tests in depth, so I can't guarantee this is exactly what you are looking for. But I believe it is a good start. 

What I can add is what is required from Test Studio Testing Framework perspective: 

  • supported .NET Framework is 4.7.2. 
  • the Testing Framework needs to be installed on the machine where the pipeline will be executed.
  • if the tests involves interaction with the running WPF application, then an active desktop session is required on the machine where the pipeline will be executed.

I hope the provided information is useful for you.

Regards,
Elena
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Azure DevOps Coded Tests WPF Testing
Asked by
Garry
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or