Skip to content

Commit

Permalink
Tests project was upgraded to .NET Core type.
Browse files Browse the repository at this point in the history
  • Loading branch information
hennadiilu committed Jun 30, 2018
1 parent d9c883e commit 683e07e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 169 deletions.
160 changes: 31 additions & 129 deletions Heleonix.Testing.NUnit.Tests/Heleonix.Testing.NUnit.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,141 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Text.Analyzers.2.6.0\build\Text.Analyzers.props" Condition="Exists('..\packages\Text.Analyzers.2.6.0\build\Text.Analyzers.props')" />
<Import Project="..\packages\Microsoft.NetFramework.Analyzers.2.6.0\build\Microsoft.NetFramework.Analyzers.props" Condition="Exists('..\packages\Microsoft.NetFramework.Analyzers.2.6.0\build\Microsoft.NetFramework.Analyzers.props')" />
<Import Project="..\packages\Microsoft.NetCore.Analyzers.2.6.0\build\Microsoft.NetCore.Analyzers.props" Condition="Exists('..\packages\Microsoft.NetCore.Analyzers.2.6.0\build\Microsoft.NetCore.Analyzers.props')" />
<Import Project="..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\build\Microsoft.CodeQuality.Analyzers.props" Condition="Exists('..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\build\Microsoft.CodeQuality.Analyzers.props')" />
<Import Project="..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../SharedProjectInfo.proj" />

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D9F8D146-C245-4F6E-8DE2-45738659BA83}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Heleonix.Testing.NUnit.Tests</RootNamespace>
<AssemblyName>Heleonix.Testing.NUnit.Tests</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFramework>netcoreapp2.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\Heleonix.Testing.NUnit.Tests.xml</DocumentationFile>
<LangVersion>default</LangVersion>
<WarningsAsErrors />
<DocumentationFile>bin\Debug\netcoreapp2.0\Heleonix.Testing.NUnit.Tests.xml</DocumentationFile>
<LangVersion>latest</LangVersion>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\Heleonix.Testing.NUnit.Tests.xml</DocumentationFile>
<LangVersion>default</LangVersion>
<WarningsAsErrors />
<DocumentationFile>bin\Release\netcoreapp2.0\Heleonix.Testing.NUnit.Tests.xml</DocumentationFile>
<LangVersion>latest</LangVersion>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Aaa\AaaSpecTests.cs" />
<Compile Include="Aaa\Examples\MyComponent.cs" />
<Compile Include="Aaa\Examples\MyComponentTests.cs" />
<Compile Include="Aaa\Internal\AaaTestHostTests.cs" />
<Compile Include="Bdd\BddSpecTests.cs" />
<Compile Include="Bdd\Internal\BddTestHostTests.cs" />
<Compile Include="Internal\TestHostTests.cs" />
<Compile Include="Internal\TestPropertiesTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\stylecop.json">
<Link>stylecop.json</Link>
</AdditionalFiles>
</ItemGroup>
<ItemGroup>
<Analyzer Include="..\packages\codecracker.CSharp.1.0.3\analyzers\dotnet\cs\CodeCracker.Common.dll" />
<Analyzer Include="..\packages\codecracker.CSharp.1.0.3\analyzers\dotnet\cs\CodeCracker.CSharp.dll" />
<Analyzer Include="..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.CodeQuality.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.CodeQuality.CSharp.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.NetCore.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.NetCore.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.NetCore.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.NetCore.CSharp.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.NetFramework.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.NetFramework.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.NetFramework.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.NetFramework.CSharp.Analyzers.dll" />
<Analyzer Include="..\packages\RoslynSecurityGuard.2.3.0.0\analyzers\dotnet\cs\RoslynSecurityGuard.dll" />
<Analyzer Include="..\packages\RoslynSecurityGuard.2.3.0.0\analyzers\dotnet\cs\YamlDotNet.dll" />
<Analyzer Include="..\packages\SonarAnalyzer.CSharp.6.7.1.4347\analyzers\Google.Protobuf.dll" />
<Analyzer Include="..\packages\SonarAnalyzer.CSharp.6.7.1.4347\analyzers\SonarAnalyzer.CSharp.dll" />
<Analyzer Include="..\packages\SonarAnalyzer.CSharp.6.7.1.4347\analyzers\SonarAnalyzer.dll" />
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
<Analyzer Include="..\packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
<Analyzer Include="..\packages\Text.Analyzers.2.6.0\analyzers\dotnet\cs\Text.Analyzers.dll" />
<Analyzer Include="..\packages\Text.Analyzers.2.6.0\analyzers\dotnet\cs\Text.CSharp.Analyzers.dll" />
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Heleonix.Testing.NUnit\Heleonix.Testing.NUnit.csproj">
<Project>{36ad64b1-92ad-4bce-931e-fbec6c655e3f}</Project>
<Name>Heleonix.Testing.NUnit</Name>
</ProjectReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
<PackageReference Include="Moq" Version="4.8.3" />
<PackageReference Include="NUnit" Version="3.9.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="codecracker.CSharp">
<Version>1.0.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
<Version>2.6.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk">
<Version>15.7.2</Version>
</PackageReference>
<PackageReference Include="moq">
<Version>4.8.2</Version>
</PackageReference>
<PackageReference Include="nunit">
<Version>3.9.0</Version>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter">
<Version>3.10.0</Version>
</PackageReference>
<PackageReference Include="RoslynSecurityGuard">
<Version>2.3.0</Version>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp">
<Version>6.8.2.4717</Version>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers">
<Version>1.0.2</Version>
</PackageReference>
<ProjectReference Include="..\Heleonix.Testing.NUnit\Heleonix.Testing.NUnit.csproj" />
</ItemGroup>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.props'))" />
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets'))" />
<Error Condition="!Exists('..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\build\Microsoft.CodeQuality.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeQuality.Analyzers.2.6.0\build\Microsoft.CodeQuality.Analyzers.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.NetCore.Analyzers.2.6.0\build\Microsoft.NetCore.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.NetCore.Analyzers.2.6.0\build\Microsoft.NetCore.Analyzers.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.NetFramework.Analyzers.2.6.0\build\Microsoft.NetFramework.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.NetFramework.Analyzers.2.6.0\build\Microsoft.NetFramework.Analyzers.props'))" />
<Error Condition="!Exists('..\packages\Text.Analyzers.2.6.0\build\Text.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Text.Analyzers.2.6.0\build\Text.Analyzers.props'))" />
</Target>
<Import Project="..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.2.0\build\net45\MSTest.TestAdapter.targets')" />
</Project>

</Project>
10 changes: 0 additions & 10 deletions Heleonix.Testing.NUnit.Tests/Properties/AssemblyInfo.cs

This file was deleted.

15 changes: 7 additions & 8 deletions Heleonix.Testing.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitignore = .gitignore
LICENSE = LICENSE
README.md = README.md
SharedAssemblyInfo.cs = SharedAssemblyInfo.cs
SharedProjectInfo.proj = SharedProjectInfo.proj
stylecop.json = stylecop.json
EndProjectSection
Expand All @@ -19,8 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sources", "Sources", "{4AEA
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{783E9705-9D30-414A-956F-DBDCB06F3ACA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Heleonix.Testing.NUnit.Tests", "Heleonix.Testing.NUnit.Tests\Heleonix.Testing.NUnit.Tests.csproj", "{D9F8D146-C245-4F6E-8DE2-45738659BA83}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{5334635D-74B4-48B3-AEB7-EF04B0887CAB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "images", "images", "{E4223876-529E-4757-98A2-97D488BD32B3}"
Expand All @@ -29,6 +26,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "images", "images", "{E42238
Docs\images\BDD.png = Docs\images\BDD.png
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Heleonix.Testing.NUnit.Tests", "Heleonix.Testing.NUnit.Tests\Heleonix.Testing.NUnit.Tests.csproj", "{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -39,18 +38,18 @@ Global
{36AD64B1-92AD-4BCE-931E-FBEC6C655E3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36AD64B1-92AD-4BCE-931E-FBEC6C655E3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36AD64B1-92AD-4BCE-931E-FBEC6C655E3F}.Release|Any CPU.Build.0 = Release|Any CPU
{D9F8D146-C245-4F6E-8DE2-45738659BA83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D9F8D146-C245-4F6E-8DE2-45738659BA83}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D9F8D146-C245-4F6E-8DE2-45738659BA83}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D9F8D146-C245-4F6E-8DE2-45738659BA83}.Release|Any CPU.Build.0 = Release|Any CPU
{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{36AD64B1-92AD-4BCE-931E-FBEC6C655E3F} = {4AEAF240-3ED0-49D3-B054-27402285220A}
{D9F8D146-C245-4F6E-8DE2-45738659BA83} = {783E9705-9D30-414A-956F-DBDCB06F3ACA}
{E4223876-529E-4757-98A2-97D488BD32B3} = {5334635D-74B4-48B3-AEB7-EF04B0887CAB}
{8821B8D3-CC9E-4402-ABF5-0F4F99E82A8C} = {783E9705-9D30-414A-956F-DBDCB06F3ACA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {710E8CFD-309B-4054-9763-4649C9D5E58C}
Expand Down
21 changes: 0 additions & 21 deletions SharedAssemblyInfo.cs

This file was deleted.

2 changes: 1 addition & 1 deletion SharedProjectInfo.proj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.2.0</Version>
<Version>1.3.0</Version>
<PackageReleaseNotes>Added support of sequential When in AAA spec</PackageReleaseNotes>

<Description>The library for writing tests in BDD and AAA styles</Description>
Expand Down

0 comments on commit 683e07e

Please sign in to comment.