Skip to content

Commit

Permalink
Actually generating the Abstractions package might be a good idea, I …
Browse files Browse the repository at this point in the history
…guess..
  • Loading branch information
sdcondon committed Apr 11, 2021
1 parent 2c8d038 commit 491bd2d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# VS is determined to drop XML doc files alongside the source as well as in the target dir..
FlUnit.xml
FlUnit.Abstractions.xml

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Cons
- Perhaps `ThenOfOutcome(o => o.Result.ShouldBe..)` and `ThenOfGiven1(g => g.Prop.ShouldBe..)` for succinctness? Though lambda discards work pretty well (to my eyes at least)..
- We might have test cases where the prereqs aren't independent. E.g. allowing for:
```
public static Test SumOfEvenAndOdd => TestThat
public static Test SumOfOddAndAdjacentEven => TestThat
.GivenEachOf(() => new[] { 1, 3, 5 })
.AndEachOf(x => new[] { x - 1, x, x + 1 })
.AndEachOf(x => new[] { x - 1, x + 1 })
...
```
..of course, people can generate these themselves in a single `GivenEachOf`, but supporting it as separate clauses might be handy. Maybe.
Expand Down
6 changes: 6 additions & 0 deletions src/FlUnit.Abstractions/FlUnit.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>FlUnit</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Abstractions for FlUnit.</Description>
</PropertyGroup>

<PropertyGroup>
<DocumentationFile>FlUnit.Abstractions.xml</DocumentationFile>
</PropertyGroup>

</Project>

0 comments on commit 491bd2d

Please sign in to comment.