Skip to content

Commit be3fd3f

Browse files
committed
[skip ci] update readme
1 parent cc65367 commit be3fd3f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Named argument wrappers for unit test frameworks to disambiguate between which a
44
## What's in the box?
55

66
A core type
7-
```
7+
```fsharp
88
namespace AltCode.Test.[Expecto|NUnit|Xunit]
99
1010
type AssertionMatch<'a> =
@@ -38,8 +38,8 @@ Contains class `AltCode.Test.Xunit.AltAssert` which provides wrappers for `Xunit
3838

3939
[`AltCode.Test.NUnit` ![Nuget](https://buildstats.info/nuget/altcode.test.nunit)](http://nuget.org/packages/altcode.test.nunit)
4040

41-
Contains classes `AltCode.Test.NUnit.Alt*Assert` which provide wrappers for the corresponding `NUnit.Framework.*Assert` for `*` = `''`, `'Collection'`, `'Directory'`, `'File'` and `'String'` with an appropriate `AltCode.Test.Nunit.AssertionMatch`-typed argument in place of actual and template expectation; also
42-
```
41+
Contains classes `AltCode.Test.NUnit.Alt*Assert` which provide emulators for the corresponding `NUnit.Framework.Legacy.*Assert` for `*` = `'Classic'` (just `AltAssert`, not `AltClassicAssert`), `'Collection'`, `'Directory'`, `'File'` and `'String'` types with an appropriate `AltCode.Test.Nunit.AssertionMatch`-typed argument in place of actual and template expectation; also
42+
```fsharp
4343
type Constraint<'a> =
4444
{
4545
Actual : 'a
@@ -53,7 +53,12 @@ type Constraint<'a> =
5353
member this.WithActual e = { this with Actual = e }
5454
member this.WithConstraint e = { this with Constraint = e }
5555
```
56-
and wrappers for some `NUnit.Framework.Assert.That` overloads
56+
and wrappers for `NUnit.Framework.Assert.That` overloads
57+
```fsharp
58+
static member That(x: Constraint<'a>)
59+
static member That(x: Constraint<'a>, message: string)
60+
61+
```
5762

5863
## Continuous Integration
5964

0 commit comments

Comments
 (0)