File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -36,37 +36,6 @@ startWebServer defaultConfig (Successful.OK "Hello World!")
3636Now 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
7241To execute the build script, invoke following command on the Linux or MacOs console:
You can’t perform that action at this time.
0 commit comments