The adapter allows to run unicorn tests directly from Visual Studio or through dotnet test.
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>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}"