CodeAnalysis.TestTools
5.0.0
dotnet add package CodeAnalysis.TestTools --version 5.0.0
NuGet\Install-Package CodeAnalysis.TestTools -Version 5.0.0
<PackageReference Include="CodeAnalysis.TestTools" Version="5.0.0" />
<PackageVersion Include="CodeAnalysis.TestTools" Version="5.0.0" />
<PackageReference Include="CodeAnalysis.TestTools" />
paket add CodeAnalysis.TestTools --version 5.0.0
#r "nuget: CodeAnalysis.TestTools, 5.0.0"
#:package CodeAnalysis.TestTools@5.0.0
#addin nuget:?package=CodeAnalysis.TestTools&version=5.0.0
#tool nuget:?package=CodeAnalysis.TestTools&version=5.0.0
Roslyn Test Tools
The package provides tooling to verify the behavior of Diagnostic Analyzers, and Code Fix Providers. It does this by providing a (test) context builder, and a mechanism to define expected issues in code (files).
Further reading
More info can be found at https://github.com/Corniel/roslyn-test-tools.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 is compatible. 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. |
-
net10.0
- Buildalyzer (>= 9.0.0)
- Buildalyzer.Workspaces (>= 9.0.0)
- Microsoft.Build (>= 18.4.0)
- Microsoft.Build.Tasks.Core (>= 18.4.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.VisualBasic.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.IO.Redist (>= 6.1.3)
- MsBuildPipeLogger.Logger (>= 1.1.6)
- NuGet.Common (>= 7.3.1)
- NuGet.Frameworks (>= 7.3.1)
- NuGet.Packaging (>= 7.3.1)
- NuGet.Protocol (>= 7.3.1)
- System.Security.Cryptography.Xml (>= 10.0.7)
-
net8.0
- Buildalyzer (>= 9.0.0)
- Buildalyzer.Workspaces (>= 9.0.0)
- Microsoft.Build (>= 18.4.0)
- Microsoft.Build.Tasks.Core (>= 18.4.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.VisualBasic.Workspaces (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 5.0.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 5.0.0)
- Microsoft.IO.Redist (>= 6.1.3)
- MsBuildPipeLogger.Logger (>= 1.1.6)
- NuGet.Common (>= 7.3.1)
- NuGet.Frameworks (>= 7.3.1)
- NuGet.Packaging (>= 7.3.1)
- NuGet.Protocol (>= 7.3.1)
- System.Collections.Immutable (>= 10.0.7)
- System.Security.Cryptography.Xml (>= 10.0.7)
- System.Text.Json (>= 10.0.7)
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 |
|---|---|---|
| 5.0.0 | 189 | 4/22/2026 |
| 4.0.0 | 802 | 12/29/2025 |
| 3.0.1 | 2,573 | 8/7/2024 |
| 3.0.0 | 174 | 7/31/2024 |
| 2.0.0 | 426 | 1/13/2024 |
| 1.3.0 | 268 | 11/30/2023 |
| 1.2.0 | 248 | 9/1/2023 |
| 1.1.0 | 659 | 7/2/2023 |
| 1.0.0 | 263 | 6/29/2023 |
| 0.0.4 | 317 | 6/13/2023 |
| 0.0.3.1 | 393 | 1/30/2023 |
| 0.0.3 | 436 | 1/9/2023 |
| 0.0.2 | 473 | 11/27/2022 |
| 0.0.1 | 619 | 11/16/2021 |
v5.0.0
- Use Buildalyzer v9.0.0. (BREAKING)
v4.0.0
- Verify takes the severity of the reported issue into account.
- Add .NET 10.0.
- Drop .NET 6.0. (BREAKING)
- Removed [Serialize] attributes from exceptions.
v3.0.1
- 'no message provided' on Verify method (FIX). #21
v3.0.0
- Logging expected issues to the console only in DEBUG mode.
- Update dependency Buildalyzer 7.*. (BREAKING)
v2.0.0
- Drop .NET 7.0 support. (breaking)
- Update dependency Buildalyzer 6.*. (BREAKING)
v1.3.0
- Target .NET 8.0
v1.2.0
- Build with Buildalyzer.
- Don't try to read the NuGet V3 url from a config file.
v1.1.0
- Support additional files for projects.
v1.0.0
- Support verifying against projects.
v0.0.4
- Support for verifying code fix providers. (#7)
- Fix invalid cast for adding NuGet packages.
v0.0.3.1
- GuardedCollection AddRange failed to add items to the new collection. (#4)