jeudi 26 septembre 2019

How to pass TestRunParameters to "dotnet test" command directly from command line

Below is runsettings files, having custom parameters defined. <?xml version="1.0" encoding="utf-8"?> <RunSettings> <TestRunParameters> <Parameter name="publishResults" value="true" /> </TestRunParameters> </RunSettings>

This is how I run command from command line dotnet test MyTests --settings develop.runsettings --no-build

I want to avoid .runsettings and like to run like this dotnet test MyTests --publishResults true --no-build

Is it possible?

Aucun commentaire:

Enregistrer un commentaire