gdUnit4.test.adapter 2.1.0-rc5

This is a prerelease version of gdUnit4.test.adapter.
dotnet add package gdUnit4.test.adapter --version 2.1.0-rc5
                    
NuGet\Install-Package gdUnit4.test.adapter -Version 2.1.0-rc5
                    
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="2.1.0-rc5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="gdUnit4.test.adapter" Version="2.1.0-rc5" />
                    
Directory.Packages.props
<PackageReference Include="gdUnit4.test.adapter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add gdUnit4.test.adapter --version 2.1.0-rc5
                    
#r "nuget: gdUnit4.test.adapter, 2.1.0-rc5"
                    
#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.
#addin nuget:?package=gdUnit4.test.adapter&version=2.1.0-rc5&prerelease
                    
Install gdUnit4.test.adapter as a Cake Addin
#tool nuget:?package=gdUnit4.test.adapter&version=2.1.0-rc5&prerelease
                    
Install gdUnit4.test.adapter as a Cake Tool

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.

The GdUnit4.testadapter implements the Microsoft test adapter framework VSTest.

Features

  • Seamless Integration with Visual Studio, VS Code, and JetBrains Rider
  • Test Discovery to find all GdUnit4 tests in your project
  • Test Execution to run tests directly from your IDE
  • Test Debugging to step through your tests
  • Error Navigation to jump directly to test failures
  • Solution Configuration with test config files
  • Powerful Test Filtering to selectively run tests based on various criteria

Supported IDE's

IDE Test Discovery Test Run Test Debug Jump to Failure Solution test config file Test Filter Parallel Test Execution
Visual Studio
Visual Studio Code
JetBrains Rider min version 2024.2

✅ - supported<br> ☑️ - supported by a workaround (link)<br> ❌ - not supported<br>

Installation

Add the Test Adapter to your test project:

<PackageReference Include="gdUnit4.test.adapter" Version="2.1.0" />

Test Filtering

GdUnit4 now supports powerful test filtering capabilities, allowing you to selectively run tests based on various criteria such as test name, class, namespace, category, and custom traits.

Basic Filter Syntax

PropertyName=Value

Example Filters

# Run only tests in a specific class
Class=CalculatorTests

# Run tests with a specific category
TestCategory=UnitTest

# Run tests with specific traits
Trait.Priority=High

# Combine filters with logical operators
TestCategory=UnitTest&Trait.Owner=TeamA

For detailed information about test filtering capabilities, including syntax, operators, examples, and best practices, see the Test Filter Guide.

Documentation

The full documentation can be found here.

You Are Welcome To


Contribution Guidelines

Thank you for your interest in contributing to GdUnit4!<br> To ensure a smooth and collaborative contribution process, please review our contribution guidelines before getting started. These guidelines outline the standards and expectations we uphold in this project.

Code of Conduct: We strictly adhere to the Godot code of conduct in this project. As a contributor, it is important to respect and follow this code to maintain a positive and inclusive community.

Using GitHub Issues: We utilize GitHub issues for tracking feature requests and bug reports. If you have a general question or wish to engage in discussions, we recommend joining the GdUnit Discord Server for specific inquiries.

We value your input and appreciate your contributions to make GdUnit4 even better!

<p align="left"> <a href="https://discord.gg/rdq36JwuaJ"><img src="https://discordapp.com/api/guilds/885149082119733269/widget.png?style=banner4" alt="Join GdUnit Server"/></a> </p>

Thank you for supporting my project

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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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-rc5 2,374 4/25/2025
2.1.0-rc4 886 4/5/2025
2.1.0-rc3 1,432 1/18/2025
2.0.0 19,536 7/9/2024
1.1.2 4,717 6/24/2024
1.1.1 3,330 4/17/2024
1.1.0 189 4/12/2024
1.0.0 1,581 2/24/2024

v2.1.0
Improvements:
* GD-138: Add capture test case execution stdout to the test report if `CaptureStdOut` is enabled
* GD-141: Code cleanup and formatting

--------------------------------------------------------------------------

v2.0.0
- Changed test event sending via std:out to using IPC
- Enable debugging in Rider 2024.2 without using hacks
'gdUnit4.test.adapter' v2.0.0 requires 'gdUnit4.api' v4.3.0

--------------------------------------------------------------------------

v1.1.2
Bug Fixes:
- Fixes the test adapter gdUnit4.api version resolving
- Fixing Debug tests gets stuck when using --verbose

--------------------------------------------------------------------------

v1.1.1

Bug Fixes:
- Fixes space in folder name prevents tests from running

--------------------------------------------------------------------------

v1.1.0

Bug Fixes:
- Fix parameterized tests are incorrect grouped
- Fix DisplayName resolving

Other Changes:
- Add example to show usage of gdUnit4.test.adapter
- Support both net7 and net8 at once

--------------------------------------------------------------------------

v1.0.0

- Initial version