Skip to content

Commit

Permalink
Refactor acceptance tests structure
Browse files Browse the repository at this point in the history
  • Loading branch information
picolino committed Aug 18, 2023
1 parent 6d023fd commit 2be1a03
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let testListFromFeature (feature: TickSpec.Feature) : Expecto.Test =
|> testSequenced

let featureTest (resourceName: string) =
(assembly.GetName().Name + "." + resourceName)
(assembly.GetName().Name + ".Features." + resourceName.Replace(".feature", ".") + resourceName)
|> featureFromEmbeddedResource
|> testListFromFeature

Expand Down
12 changes: 6 additions & 6 deletions tests/Skillaz.SecureChat.AcceptanceTests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<Compile Include="ArgsBuilder.fs" />
<Compile Include="ModelBuilder.fs" />
<Compile Include="SharedSteps.fs" />
<Compile Include="InitializeSteps.fs" />
<EmbeddedResource Include="Initialize.feature" />
<Compile Include="ValidationSteps.fs" />
<EmbeddedResource Include="Validation.feature" />
<Compile Include="SettingsSteps.fs" />
<EmbeddedResource Include="Settings.feature" />
<Compile Include="Features\Initialize\InitializeSteps.fs" />
<EmbeddedResource Include="Features\Initialize\Initialize.feature" />
<Compile Include="Features\Settings\SettingsSteps.fs" />
<EmbeddedResource Include="Features\Settings\Settings.feature" />
<Compile Include="Features\Validation\ValidationSteps.fs" />
<EmbeddedResource Include="Features\Validation\Validation.feature" />
<Compile Include="Program.fs" />
</ItemGroup>

Expand Down

0 comments on commit 2be1a03

Please sign in to comment.