SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
285 stars 26 forks source link

Create assertion function like raises but allowing further assertions on the exception object #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
e.g., something like

raisesWhen<exn>
  <@ raise <| exn("hi") @>
  (fun e -> e.Message = "hi")

Original issue reported on code.google.com by stephen....@gmail.com on 24 Sep 2011 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 24 Sep 2011 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 11 Apr 2012 at 8:46