Created
January 6, 2017 21:03
-
-
Save lefthandedgoat/ad30f68215ceb5e4d5f36719781eae02 to your computer and use it in GitHub Desktop.
fsUnit xunit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test1 | |
open Xunit | |
open FsUnit.Xunit | |
type ``Context 1`` () = | |
let setup = failwith "do your setup here and if it returns unit its fine, it will bind to the setup val" | |
[<Fact>] | |
member x.``test 1`` () = | |
printfn "test 1" | |
failwith "error" | |
1 = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment