Skip to content

Commit a856eda

Browse files
authored
Remove Suave.Testing documentation section
Removed section on Suave.Testing from README.md.
1 parent 8e3f005 commit a856eda

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,37 +36,6 @@ startWebServer defaultConfig (Successful.OK "Hello World!")
3636
Now that you've discovered how to do "Hello World!", go read the
3737
[rest of the documentation](https://suave.io/) – editable in the `docs` folder.
3838

39-
# Suave.Testing
40-
41-
We have a NuGet ready for your testing needs; Suave is an excellent server for
42-
running in-process integration tests, as it's very fast to spawn. On an ordinary
43-
laptop, running hundreds of randomized tests and micro-benchmarks as well as all
44-
Suave unit tests, take about 5 seconds on mono.
45-
46-
Start by installing:
47-
48-
```
49-
paket add nuget suave.testing
50-
```
51-
52-
You can now use it:
53-
54-
``` fsharp
55-
open Suave
56-
open Suave.Testing
57-
open Expecto
58-
59-
testCase "parsing a large multipart form" <| fun _ ->
60-
61-
let res =
62-
runWithConfig (OK "hi")
63-
|> req HttpMethod.POST "/" (Some byteArrayContent)
64-
65-
Expect.equal res "hi" "Should get the correct result"
66-
```
67-
68-
All of our tests use this assembly; you can do too.
69-
7039
# How to Build
7140

7241
To execute the build script, invoke following command on the Linux or MacOs console:

0 commit comments

Comments
 (0)