Skip to content

Commit ee31876

Browse files
committed
Configured the package as non-development dependency.
1 parent 2fe1d31 commit ee31876

4 files changed

Lines changed: 60 additions & 57 deletions

File tree

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net6.0</TargetFramework>
4-
5-
<IsPackable>false</IsPackable>
6-
74
<GenerateDocumentationFile>True</GenerateDocumentationFile>
85
</PropertyGroup>
96

107
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
118
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
12-
<WarningsAsErrors />
13-
<LangVersion>latest</LangVersion>
149
<DebugType>full</DebugType>
1510
<DebugSymbols>true</DebugSymbols>
1611
</PropertyGroup>
1712

1813
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
1914
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
20-
<WarningsAsErrors />
21-
<LangVersion>latest</LangVersion>
2215
<DebugType>pdbonly</DebugType>
2316
<DebugSymbols>true</DebugSymbols>
2417
</PropertyGroup>
@@ -28,28 +21,38 @@
2821
</ItemGroup>
2922

3023
<ItemGroup>
31-
<PackageReference Include="codecracker.CSharp" Version="1.1.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
32-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
24+
<PackageReference Include="codecracker.CSharp" Version="1.1.0">
3325
<PrivateAssets>all</PrivateAssets>
3426
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3527
</PackageReference>
36-
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7">
28+
<PackageReference Include="coverlet.collector" Version="3.1.2">
29+
<PrivateAssets>all</PrivateAssets>
30+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
31+
</PackageReference>
32+
<PackageReference Include="Heleonix.Testing.NUnit" Version="2.0.0" />
33+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
3734
<PrivateAssets>all</PrivateAssets>
3835
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3936
</PackageReference>
40-
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.45.0.54064" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
41-
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
42-
</ItemGroup>
43-
44-
<ItemGroup>
4537
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
4638
<PackageReference Include="Moq" Version="4.18.2" />
4739
<PackageReference Include="NUnit" Version="3.13.3" />
4840
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
41+
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7">
42+
<PrivateAssets>all</PrivateAssets>
43+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
44+
</PackageReference>
45+
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.46.0.54807">
46+
<PrivateAssets>all</PrivateAssets>
47+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
48+
</PackageReference>
49+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
50+
<PrivateAssets>all</PrivateAssets>
51+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
52+
</PackageReference>
4953
</ItemGroup>
5054

5155
<ItemGroup>
5256
<ProjectReference Include="..\Heleonix.Testing.NUnit\Heleonix.Testing.NUnit.csproj" />
5357
</ItemGroup>
54-
5558
</Project>

Heleonix.Testing.NUnit/Heleonix.Testing.NUnit.csproj

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,40 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<Import Project="../SharedProjectInfo.props" />
2+
<Import Project="../SharedPackageInfo.props" />
3+
4+
<PropertyGroup>
5+
<Description>The library for writing tests in BDD and AAA styles</Description>
6+
<PackageTags>Heleonix test nunit bdd behavior driven development tdd test driven development aaa arrange act assert</PackageTags>
7+
<PackageReleaseNotes>
8+
Configured the package as non-development dependency.
9+
</PackageReleaseNotes>
10+
</PropertyGroup>
311

412
<PropertyGroup>
513
<TargetFramework>netstandard2.0</TargetFramework>
6-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
7-
<PackageReadmeFile>README.md</PackageReadmeFile>
814
<GenerateDocumentationFile>True</GenerateDocumentationFile>
915
</PropertyGroup>
1016

1117
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
18+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1219
<DebugType>full</DebugType>
1320
<DebugSymbols>true</DebugSymbols>
14-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
15-
<WarningsAsErrors />
1621
</PropertyGroup>
1722

1823
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
24+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1925
<DebugType>pdbonly</DebugType>
2026
<DebugSymbols>true</DebugSymbols>
21-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
22-
<WarningsAsErrors />
23-
</PropertyGroup>
24-
25-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
26-
<LangVersion>default</LangVersion>
27-
</PropertyGroup>
28-
29-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
30-
<LangVersion>default</LangVersion>
3127
</PropertyGroup>
3228

3329
<ItemGroup>
3430
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
3531
</ItemGroup>
3632

3733
<ItemGroup>
38-
<None Include="..\README.md">
39-
<Pack>True</Pack>
40-
<PackagePath>\</PackagePath>
41-
</None>
42-
</ItemGroup>
43-
44-
<ItemGroup>
45-
<PackageReference Include="codecracker.CSharp" Version="1.1.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
34+
<PackageReference Include="codecracker.CSharp" Version="1.1.0">
35+
<PrivateAssets>all</PrivateAssets>
36+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37+
</PackageReference>
4638
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
4739
<PrivateAssets>all</PrivateAssets>
4840
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -51,8 +43,14 @@
5143
<PrivateAssets>all</PrivateAssets>
5244
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5345
</PackageReference>
54-
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.45.0.54064" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
55-
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
46+
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.46.0.54807">
47+
<PrivateAssets>all</PrivateAssets>
48+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
49+
</PackageReference>
50+
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
51+
<PrivateAssets>all</PrivateAssets>
52+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
53+
</PackageReference>
5654
</ItemGroup>
5755

5856
<ItemGroup>

Heleonix.Testing.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27130.2003
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.3.32901.215
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Heleonix.Testing.NUnit", "Heleonix.Testing.NUnit\Heleonix.Testing.NUnit.csproj", "{36AD64B1-92AD-4BCE-931E-FBEC6C655E3F}"
77
EndProject
@@ -10,8 +10,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1010
.gitignore = .gitignore
1111
LICENSE = LICENSE
1212
README.md = README.md
13-
SharedProjectInfo.props = SharedProjectInfo.props
1413
stylecop.json = stylecop.json
14+
SharedPackageInfo.props = SharedPackageInfo.props
1515
EndProjectSection
1616
EndProject
1717
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sources", "Sources", "{4AEAF240-3ED0-49D3-B054-27402285220A}"
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>2.0.0</Version>
4-
<PackageReleaseNotes>
5-
Target frameworks reduced to netstandard2.0;
6-
Removed SetupEach and CleanupEash as duplications of BeforeEach and AfterEach;
7-
Succeeded and failed assertions in AAA and BDD are now marked in output;
8-
Failed tests now don't prevent execution of other tests.
9-
</PackageReleaseNotes>
10-
11-
<Description>The library for writing tests in BDD and AAA styles</Description>
12-
<PackageTags>Heleonix test nunit bdd behavior driven development tdd test driven development aaa arrange act assert</PackageTags>
13-
3+
<Version>2.0.1</Version>
144
<Authors>Heleonix - Hennadii Lutsyshyn</Authors>
155
<Copyright>Copyright (c) Heleonix - Hennadii Lutsyshyn</Copyright>
166
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
177

188
<RepositoryType>git</RepositoryType>
199
<RepositoryUrl>https://github.com/Heleonix/Heleonix.Testing/tree/master</RepositoryUrl>
20-
<PackageLicenseUrl>https://github.com/Heleonix/Heleonix.Testing/tree/master/LICENSE</PackageLicenseUrl>
2110
<PackageProjectUrl>https://github.com/Heleonix/Heleonix.Testing/tree/master</PackageProjectUrl>
2211
<PackageIconUrl>https://s.gravatar.com/avatar/22d1d9391b9f682a589d324d403ec0d8?s=256</PackageIconUrl>
2312

13+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
15+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2416
<IsPackable>true</IsPackable>
25-
<DevelopmentDependency>true</DevelopmentDependency>
2617
<IncludeSymbols>true</IncludeSymbols>
2718
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2819
<IncludeSource>false</IncludeSource>
2920
<NoPackageAnalysis>true</NoPackageAnalysis>
3021
</PropertyGroup>
22+
23+
<ItemGroup>
24+
<None Include="..\README.md">
25+
<Pack>True</Pack>
26+
<PackagePath>\</PackagePath>
27+
</None>
28+
<None Include="..\LICENSE">
29+
<Pack>True</Pack>
30+
<PackagePath>\</PackagePath>
31+
</None>
32+
</ItemGroup>
3133
</Project>

0 commit comments

Comments
 (0)