Skip to content

Latest commit

 

History

205 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

Test adapter

The adapter allows to run unicorn tests directly from Visual Studio or through dotnet test.

Use of unicorn configuration file

To use custom unicorn settings from file when running tests via tests explorer just add next section to .runsettings file

<UnicornAdapter>
  <ConfigFile>unicornConfig.json</ConfigFile>
</UnicornAdapter>

Results directory

By default test adapter runs tests from build output directory and stores results there.
It's possible to change defaults using .runsettings. It could be done by adding:

<UnicornAdapter>
  <ResultsDirectory>.\TestResults</ResultsDirectory>
</UnicornAdapter>

In this case in solution root TestResults directory will be created. Each test run will have own directory named by template $"{Environment.MachineName}_{DateTime.Now:MM-dd-yyyy_hh-mm}"

Releases

Packages

Used by

Contributors

Languages