Skip to content

Unicorn-TAF/test-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

205 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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}"

Packages

 
 
 

Contributors