Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package Roslynator.Testing.CSharp.MSTest #997

Merged
merged 5 commits into from Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- This analyzer reports null checks of arguments that are:
- annotated as nullable reference type.
- optional and its default value is `null`.
- Add package `Roslynator.Testing.CSharp.MSTest` ([#997](https://github.com/JosefPihrt/Roslynator/pull/997)).

### Changed

Expand Down
11 changes: 9 additions & 2 deletions src/Core.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28407.52
# Visual Studio Version 17
VisualStudioVersion = 17.3.33027.108
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{228E25E1-FDE6-40C1-98AF-8E636D174D94}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -23,6 +23,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.Xunit", "Tes
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Testing", "Testing", "{EB3BBB7E-3C50-4C99-B644-54E79B9D9057}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.MSTest", "Tests\Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj", "{E3B53E76-EFCF-4D93-B015-06FE4697AE4E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -57,6 +59,10 @@ Global
{D4823929-83FD-46FF-986F-87457550F4CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D4823929-83FD-46FF-986F-87457550F4CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D4823929-83FD-46FF-986F-87457550F4CF}.Release|Any CPU.Build.0 = Release|Any CPU
{E3B53E76-EFCF-4D93-B015-06FE4697AE4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E3B53E76-EFCF-4D93-B015-06FE4697AE4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E3B53E76-EFCF-4D93-B015-06FE4697AE4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E3B53E76-EFCF-4D93-B015-06FE4697AE4E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -65,6 +71,7 @@ Global
{4B793EFF-2DF6-44DF-AF71-C94422E310D4} = {EB3BBB7E-3C50-4C99-B644-54E79B9D9057}
{F61EB339-5B02-4AD7-A3C7-BF80B8F00F95} = {EB3BBB7E-3C50-4C99-B644-54E79B9D9057}
{D4823929-83FD-46FF-986F-87457550F4CF} = {EB3BBB7E-3C50-4C99-B644-54E79B9D9057}
{E3B53E76-EFCF-4D93-B015-06FE4697AE4E} = {EB3BBB7E-3C50-4C99-B644-54E79B9D9057}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D1943010-8F47-4798-9A3D-97BC24CF1AC4}
Expand Down
7 changes: 7 additions & 0 deletions src/Roslynator.sln
Expand Up @@ -124,6 +124,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.Xunit", "Tes
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests.Common", "Tests\Tests.Common\Tests.Common.csproj", "{D671D7C6-A4DD-41DC-A309-7892E008FD0A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.MSTest", "Tests\Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj", "{E08D9D15-E5D8-424F-A544-E00A5CB85F50}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -281,6 +283,10 @@ Global
{D671D7C6-A4DD-41DC-A309-7892E008FD0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D671D7C6-A4DD-41DC-A309-7892E008FD0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D671D7C6-A4DD-41DC-A309-7892E008FD0A}.Release|Any CPU.Build.0 = Release|Any CPU
{E08D9D15-E5D8-424F-A544-E00A5CB85F50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E08D9D15-E5D8-424F-A544-E00A5CB85F50}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E08D9D15-E5D8-424F-A544-E00A5CB85F50}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E08D9D15-E5D8-424F-A544-E00A5CB85F50}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -309,6 +315,7 @@ Global
{41F5F74A-7D16-4B6B-81E6-D222A4485FC4} = {CC69BDBB-35E9-43A9-9397-4B2832270BB8}
{CA7B4345-0758-4AFA-ADCC-2563640614BD} = {A1DB0C05-3710-4B69-955F-2F46E330591B}
{D671D7C6-A4DD-41DC-A309-7892E008FD0A} = {A1DB0C05-3710-4B69-955F-2F46E330591B}
{E08D9D15-E5D8-424F-A544-E00A5CB85F50} = {A1DB0C05-3710-4B69-955F-2F46E330591B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D1943010-8F47-4798-9A3D-97BC24CF1AC4}
Expand Down
46 changes: 46 additions & 0 deletions src/Tests/Testing.CSharp.MSTest/Testing.CSharp.MSTest.csproj
@@ -0,0 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(RoslynatorTestingVersion)</Version>
<AssemblyName>Roslynator.Testing.CSharp.MSTest</AssemblyName>
<RootNamespace>Roslynator.Testing.CSharp.MSTest</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Deterministic>true</Deterministic>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>1591</WarningsNotAsErrors>
<DocumentationFile>bin\$(Configuration)\netstandard2.0\Roslynator.Testing.CSharp.MSTest.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup>
<PackageId>Roslynator.Testing.CSharp.MSTest</PackageId>
<PackageVersion>$(RoslynatorTestingPackageVersion)</PackageVersion>
<Company></Company>
<Description>Testing framework for Roslyn analyzers, refactorings and code fixes.</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/josefpihrt/roslynator</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageTags>Roslyn;CodeAnalysis;Test;UnitTest</PackageTags>
<PackageReadmeFile>docs/README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/josefpihrt/roslynator.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Testing.CSharp\Testing.CSharp.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\images\icon.png" Pack="true" PackagePath="\" Visible="false" />
<None Include="docs\NuGetReadme.md" Pack="true" PackagePath="docs\README.md" />
</ItemGroup>

</Project>
@@ -0,0 +1,18 @@
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

namespace Roslynator.Testing.CSharp.MSTest;

internal class MSTestAssert : IAssert
{
public static MSTestAssert Instance { get; } = new();

public void Equal(string expected, string actual)
{
global::Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AreEqual(expected, actual);
}

public void True(bool condition, string userMessage)
{
global::Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsTrue(condition, userMessage);
}
}
@@ -0,0 +1,19 @@
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.CodeAnalysis.CodeFixes;

namespace Roslynator.Testing.CSharp.MSTest;

/// <summary>
/// Represents a verifier for C# compiler diagnostics.
/// </summary>
public abstract class MSTestCompilerDiagnosticFixVerifier<TFixProvider> : CSharpCompilerDiagnosticFixVerifier<TFixProvider>
where TFixProvider : CodeFixProvider, new()
{
/// <summary>
/// Initializes a new instance of <see cref="MSTestCompilerDiagnosticFixVerifier{TFixProvider}"/>
/// </summary>
protected MSTestCompilerDiagnosticFixVerifier() : base(MSTestAssert.Instance)
{
}
}
@@ -0,0 +1,21 @@
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;

namespace Roslynator.Testing.CSharp.MSTest;

/// <summary>
/// Represents a verifier for a C# diagnostic that is produced by <see cref="DiagnosticAnalyzer"/>.
/// </summary>
public abstract class MSTestDiagnosticVerifier<TAnalyzer, TFixProvider> : CSharpDiagnosticVerifier<TAnalyzer, TFixProvider>
where TAnalyzer : DiagnosticAnalyzer, new()
where TFixProvider : CodeFixProvider, new()
{
/// <summary>
/// Initializes a new instance of <see cref="MSTestDiagnosticVerifier{TAnalyzer, TFixProvider}"/>.
/// </summary>
protected MSTestDiagnosticVerifier() : base(MSTestAssert.Instance)
{
}
}
@@ -0,0 +1,19 @@
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.CodeAnalysis.CodeRefactorings;

namespace Roslynator.Testing.CSharp.MSTest;

/// <summary>
/// Represents verifier for a C# code refactoring.
/// </summary>
public abstract class MSTestRefactoringVerifier<TRefactoringProvider> : CSharpRefactoringVerifier<TRefactoringProvider>
where TRefactoringProvider : CodeRefactoringProvider, new()
{
/// <summary>
/// Initializes a new instance of <see cref="MSTestRefactoringVerifier{TRefactoringProvider}"/>.
/// </summary>
protected MSTestRefactoringVerifier() : base(MSTestAssert.Instance)
{
}
}
22 changes: 22 additions & 0 deletions src/Tests/Testing.CSharp.MSTest/docs/NuGetReadme.md
@@ -0,0 +1,22 @@
# Roslynator.Testing.CSharp.MSTest

Test framework for unit testing of [Roslyn](https://github.com/dotnet/roslyn) analyzers, refactorings and code fixes.

## Usage

Learn how to use the framework from actual usages in Roslynator repository:

* Tests of analyzers are [here](https://github.com/josefpihrt/roslynator/tree/main/src/Tests/Analyzers.Tests), [here](https://github.com/josefpihrt/roslynator/tree/main/src/Tests/CodeAnalysis.Analyzers.Tests) and [here](https://github.com/josefpihrt/roslynator/tree/main/src/Tests/Formatting.Analyzers.Tests).
* Tests of refactorings are [here](https://github.com/josefpihrt/roslynator/tree/main/src/Tests/Refactorings.Tests).
* Tests of fixes of compiler diagnostics are [here](https://github.com/josefpihrt/roslynator/tree/main/src/Tests/CodeFixes.Tests).

## Feedback

* File an issue on [GitHub](https://github.com/josefpihrt/roslynator/issues/new)
* Follow on [Twitter](https://twitter.com/roslynator)

## Related Products

* [Roslynator for Visual Studio 2022](https://marketplace.visualstudio.com/items?itemName=josefpihrt.Roslynator2022)
* [Roslynator for VS Code](https://marketplace.visualstudio.com/items?itemName=josefpihrt-vscode.roslynator)
* [Roslynator Command-line Tool](https://www.nuget.org/packages/Roslynator.DotNet.Cli)
10 changes: 8 additions & 2 deletions src/Tests/Testing.CSharp.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
# Visual Studio Version 17
VisualStudioVersion = 17.3.33027.108
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{228E25E1-FDE6-40C1-98AF-8E636D174D94}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -15,6 +15,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.Common", "Testing.C
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.Xunit", "Testing.CSharp.Xunit\Testing.CSharp.Xunit.csproj", "{AD1C3E62-672B-405A-9D90-4CB89CF58112}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.MSTest", "Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj", "{ED3B8F45-8BF0-4842-8A6C-C0FA91690D87}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -37,6 +39,10 @@ Global
{AD1C3E62-672B-405A-9D90-4CB89CF58112}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD1C3E62-672B-405A-9D90-4CB89CF58112}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD1C3E62-672B-405A-9D90-4CB89CF58112}.Release|Any CPU.Build.0 = Release|Any CPU
{ED3B8F45-8BF0-4842-8A6C-C0FA91690D87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ED3B8F45-8BF0-4842-8A6C-C0FA91690D87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED3B8F45-8BF0-4842-8A6C-C0FA91690D87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ED3B8F45-8BF0-4842-8A6C-C0FA91690D87}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions src/Tests/Testing.CSharp/Properties/AssemblyInfo.cs
Expand Up @@ -11,3 +11,4 @@
[assembly: InternalsVisibleTo("Roslynator.CodeAnalysis.Analyzers.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Formatting.Analyzers.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Testing.CSharp.Xunit, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Testing.CSharp.MSTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
1 change: 1 addition & 0 deletions src/Tests/Testing.Common/Properties/AssemblyInfo.cs
Expand Up @@ -5,6 +5,7 @@
[assembly: InternalsVisibleTo("Roslynator.Testing.CSharp, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Testing.VisualBasic, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Testing.CSharp.Xunit, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Testing.CSharp.MSTest, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Tests.Common, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.Core.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
[assembly: InternalsVisibleTo("Roslynator.CSharp.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d348e1a51bc190259aed17cfe132736241fef462de45a5de6c881c7f9d705073c7a2a08ba5ae493c7e878fe5f3cf7909e89045cca696422f03b284b147daf6b93c47bc53dd61ceeae60f73149d183032f029761d0d59aab49a26be4f6af71cd8194ace937642bdcb515f07530096122e97cfe6c8549a843530f71c24c7e3dab8")]
Expand Down
10 changes: 8 additions & 2 deletions src/Tests/Tests.sln
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29411.108
# Visual Studio Version 17
VisualStudioVersion = 17.3.33027.108
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{228E25E1-FDE6-40C1-98AF-8E636D174D94}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -67,6 +67,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Formatting.Analyzers.CodeFi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests.Common", "Tests.Common\Tests.Common.csproj", "{D392CC4D-A4C9-4273-8AD1-17D6BCFE2826}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testing.CSharp.MSTest", "Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj", "{9D7F97D5-9CAB-41FA-83E0-EE5CFFC3111F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -186,6 +188,10 @@ Global
{D392CC4D-A4C9-4273-8AD1-17D6BCFE2826}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D392CC4D-A4C9-4273-8AD1-17D6BCFE2826}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D392CC4D-A4C9-4273-8AD1-17D6BCFE2826}.Release|Any CPU.Build.0 = Release|Any CPU
{9D7F97D5-9CAB-41FA-83E0-EE5CFFC3111F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D7F97D5-9CAB-41FA-83E0-EE5CFFC3111F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D7F97D5-9CAB-41FA-83E0-EE5CFFC3111F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D7F97D5-9CAB-41FA-83E0-EE5CFFC3111F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions tools/build.cmd
Expand Up @@ -119,6 +119,7 @@ dotnet pack -c Release --no-build -v normal "..\src\CSharp.Workspaces\CSharp.Wor
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.Common\Testing.Common.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp\Testing.CSharp.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp.Xunit\Testing.CSharp.Xunit.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj"

orang copy "../src" "%_outDir%" -e nupkg,vsix --flat -i packages e ne

Expand Down
1 change: 1 addition & 0 deletions tools/build_testing.cmd
Expand Up @@ -10,6 +10,7 @@ if errorlevel 1 (
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.Common\Testing.Common.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp\Testing.CSharp.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp.Xunit\Testing.CSharp.Xunit.csproj"
dotnet pack -c Release --no-build -v normal "..\src\Tests\Testing.CSharp.MSTest\Testing.CSharp.MSTest.csproj"

echo OK
pause
2 changes: 1 addition & 1 deletion tools/generate_documentation.cmd
Expand Up @@ -56,7 +56,7 @@ set _rootDirectoryUrl="../../docs/api/"

%_roslynatorExe% generate-doc-root "..\src\Core.sln" ^
--properties %_msbuildProperties% ^
--projects Testing.Common Testing.CSharp Testing.CSharp.Xunit ^
--projects Testing.Common Testing.CSharp Testing.CSharp.Xunit Testing.CSharp.MSTest ^
-o "..\src\Tests\README.md" ^
--host github ^
--heading "Roslynator Testing Framework" ^
Expand Down