Reputation: 1
I was wondering if anyone could advise of some options to perform unit testing with TcUnit for a Beckhoff TwinCAT PLC project and be able to upload the results into Azure Devops. I see that Azure has some PublishTestResults tasks that can import formats such as "CTest, JUnit (including PHPUnit), NUnit 2, NUnit 3, Visual Studio Test (TRX), and xUnit 2". However, I don't believe TcUnit produces any of these.
Is there any simple way to accomplish this? Or would one have to write some code to be able to produce a file with one of these formats from within TcUnit.
Alternatively, are there other tasks in Azure that I could customize to read a different type of file?
Upvotes: -1
Views: 59
Reputation: 1540
You can either enable the writing of a JUnit compatible file (that azure can use) using the parameter xUnitEnablePublish (of TcUnit) or alternatively you can look into using a solution like the TcUnitRunner. Documentation is available here.
Upvotes: 0