haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Exceptions thrown in testList incorrectly report success #435

Open ericsoler1 opened 2 years ago

ericsoler1 commented 2 years ago
[<Tests>]
let tests =
  testlist "sometestList" {
      failwith "failure"
  }

when run with dotnet test will report Passed! - Failed: 0, Passed: 1, Skipped: 0, Total: 1,

ratsclub commented 1 year ago

This behavior makes sense for me as this is not a test per se.