NUnit

NUnit is a unit-testing framework for all .NET languages. NUnit can be used for a wide range of testing, from unit testing with TDD to full fledged system and integration testing. Nunit can generate standard format JUnit-style XML files which can be submited to Testfiesta or Testrail using taco truck cli. You just need to install the popular Nunit and install tacotruck cli or use Github action. Check out simple NUnit example.

Generate xml report file

To generate xml file report of the test logger and log file path should be included in command

dotnet test --logger:"junit;LogFilePath=../test-results.xml"

Install Tacotruck CLI

$ npm install -g @testfiesta/tacotruck

Submit test results

tacotruck testfiesta \
  run:submit \
  --token testfiesta_... \
  --handle orgHandle \
  --key projectKey \
  --name runName \
  --data results-path/*.xml

Last updated