Skip to content

Commit

Permalink
Add specs project
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardvanRooijen committed Mar 6, 2021
1 parent 1750c7b commit 18eb7e7
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Solutions/Ais.Net.Models.Specs/Ais.Net.Models.Specs.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(EndjinProjectPropsPath)" Condition="$(EndjinProjectPropsPath) != ''" />
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
<RootNamespace>Corvus.Configuration.Specs</RootNamespace>
<!-- Disabling SA1204 because it prioritizes static/non-static over public/non-public, which doesn't fit very well
with bindings in SpecFlow.
Disabling SA1600, SA1602 (all public types and members to be documented) because test projects need to make lots of types
public for technical reasaons, but they are not meant for public consumption, so XML doc comments are only
appropriate if they aid understanding within the project.
-->
<NoWarn>RCS1029;SA0001;SA1204;SA1600;SA1602;CS1591</NoWarn>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Endjin.RecommendedPractices" Version="1.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Corvus.Testing.SpecFlow.NUnit" Version="1.3.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ais.Net.Models\Ais.Net.Models.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="nested.settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="flattened.settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="specflow.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Steps\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Feature: AisMessageType18

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Solutions/Ais.Net.Models.Specs/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// <copyright file="GlobalSuppressions.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.OrderingRules",
"SA1210:Using directives should be ordered alphabetically by namespace",
Justification = "We need this until https://github.com/SpecFlowOSS/SpecFlow/issues/1828 is fixed")]

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.OrderingRules",
"SA1633:Using directives should be ordered alphabetically by namespace",
Justification = "We need this until https://github.com/SpecFlowOSS/SpecFlow/issues/1828 is fixed")]
6 changes: 6 additions & 0 deletions Solutions/Ais.Net.Receiver.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ais.Net.Receiver.Storage.Az
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ais.Net.Receiver.Host.Console", "Ais.Net.Receiver.Host.Console\Ais.Net.Receiver.Host.Console.csproj", "{F7297F19-858C-4663-BA47-D001876F9868}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ais.Net.Models.Specs", "Ais.Net.Models.Specs\Ais.Net.Models.Specs.csproj", "{AA6F29A1-3F00-4796-A7C7-9EDFD6C677F8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -39,6 +41,10 @@ Global
{F7297F19-858C-4663-BA47-D001876F9868}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F7297F19-858C-4663-BA47-D001876F9868}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F7297F19-858C-4663-BA47-D001876F9868}.Release|Any CPU.Build.0 = Release|Any CPU
{AA6F29A1-3F00-4796-A7C7-9EDFD6C677F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA6F29A1-3F00-4796-A7C7-9EDFD6C677F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA6F29A1-3F00-4796-A7C7-9EDFD6C677F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA6F29A1-3F00-4796-A7C7-9EDFD6C677F8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 18eb7e7

Please sign in to comment.