gdUnit4.test.adapter 1.0.0-rc.202402192051

This is a prerelease version of gdUnit4.test.adapter.
There is a newer version of this package available.
See the version list below for details.
dotnet add package gdUnit4.test.adapter --version 1.0.0-rc.202402192051                
NuGet\Install-Package gdUnit4.test.adapter -Version 1.0.0-rc.202402192051                
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="gdUnit4.test.adapter" Version="1.0.0-rc.202402192051" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add gdUnit4.test.adapter --version 1.0.0-rc.202402192051                
#r "nuget: gdUnit4.test.adapter, 1.0.0-rc.202402192051"                
#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 gdUnit4.test.adapter as a Cake Addin
#addin nuget:?package=gdUnit4.test.adapter&version=1.0.0-rc.202402192051&prerelease

// Install gdUnit4.test.adapter as a Cake Tool
#tool nuget:?package=gdUnit4.test.adapter&version=1.0.0-rc.202402192051&prerelease                

GdUnit4 Test Adapter

This is the GdUnit4 Test Adapter, designed to facilitate the integration of GdUnit4 with test frameworks supporting the Visual Studio Test Platform.

Getting Started

Precondisions

  1. Install the GdUnit4 Test Adapter NuGet package:

    dotnet add package GdUnit4.TestAdapter
    
  2. Add a reference to the GdUnit4 library in your test project:

    dotnet add package GdUnit4
    
  3. Configure your test project to use GdUnit4 by adding the following to your .csproj file:

<Project Sdk="Godot.NET.Sdk">

    

    <ItemGroup>
        <PackageReference Include="gdUnit4.api" Version="your-version" />
        <ProjectReference Include="gdUnit4.test.adapter" Version="your-version"/>
    </ItemGroup>

</Project>

.runsettings Configuration

To configure GdUnit4 test execution, you can use a .runsettings file. Below is an example .runsettings file:

<GdUnit4>
    
    
    <Parameters>--verbose</Parameters>
    
    
    <DisplayName>SimpleName</DisplayName>
</GdUnit4>

Ensure to customize the values inside the <Parameters> element based on your specific requirements. This configuration is crucial for successful test execution, especially in headless environments.

Run tests from console

dotnet test ./test/your-project.csproj --settings ./test/.runsettings

Contributing

If you encounter issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.1.0-rc2 1,398 10/29/2024
2.1.0-rc1 179 10/28/2024
2.0.0 10,076 7/9/2024
1.1.2 4,345 6/24/2024
1.1.1 3,302 4/17/2024
1.1.0 185 4/12/2024
1.0.0 1,015 2/24/2024
1.0.0-rc.202402192051 106 2/19/2024

GdUnit4 Test Adapter beta.