Unicorn.TestAdapter
4.0.0
dotnet add package Unicorn.TestAdapter --version 4.0.0
NuGet\Install-Package Unicorn.TestAdapter -Version 4.0.0
<PackageReference Include="Unicorn.TestAdapter" Version="4.0.0" />
paket add Unicorn.TestAdapter --version 4.0.0
#r "nuget: Unicorn.TestAdapter, 4.0.0"
// Install Unicorn.TestAdapter as a Cake Addin #addin nuget:?package=Unicorn.TestAdapter&version=4.0.0 // Install Unicorn.TestAdapter as a Cake Tool #tool nuget:?package=Unicorn.TestAdapter&version=4.0.0
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}"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.