Unicorn.TestAdapter 4.0.0

dotnet add package Unicorn.TestAdapter --version 4.0.0                
NuGet\Install-Package Unicorn.TestAdapter -Version 4.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Unicorn.TestAdapter" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Unicorn.TestAdapter --version 4.0.0                
#r "nuget: Unicorn.TestAdapter, 4.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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                

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

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.

Version Downloads Last updated
4.0.0 91 12/4/2024
3.2.0 124 8/13/2024
3.1.0 536 10/19/2022
3.0.0 713 4/10/2022
2.3.0 448 6/23/2021
2.2.2 411 3/1/2021
2.2.1 478 10/2/2020