FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Verify/src/FSharpTests/Tests.fs at master · khellang/Verify · GitHub
khellang
Verify
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Verify
/
src
/
FSharpTests
/
Tests.fs
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (28 loc) · 623 Bytes
Breadcrumbs
Verify
/
src
/
FSharpTests
/
Tests.fs
Copy path
File metadata and controls
32 lines (28 loc) · 623 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[<VerifyXunit.UsesVerify>]
module
Tests
open
Xunit
open
VerifyTests
open
VerifyXunit
open
Newtonsoft.
Json
// begin-snippet: NullValueHandling
VerifierSettings.AddExtraSettings
(
fun
settings
->
settings.NullValueHandling
<-
NullValueHandling.Include
)
// end-snippet
// begin-snippet: FsTest
[<Fact>]
let
MyTest
()
=
async
{
do
!
Verifier.Verify
(
15
)
.ToTask
()
|>
Async.AwaitTask
}
// end-snippet
// begin-snippet: WithSettings
[<Fact>]
let
WithFluentSetting
()
=
async
{
do
!
Verifier.Verify
(
15
)
.UseMethodName
(
"
customName
"
)
.ToTask
()
|>
Async.AwaitTask
}
// end-snippet
do
()
Back
|
FazBrowse Home
|
New Git URL