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

Distinguish between exception instances and exceptions that are actually raised during reduction #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We will introduce a ReductionException type which will wrap exceptions that are 
raised during reduction (i.e. reduceFully, uquote, text, raises, and raisesWith 
operators and extension methods). This will allow us to e.g. improve 
decompilation so that values of non-raised exceptions aren't printed with 
verbose stacktrace information. Note that this will be a slight breaking change 
in that the last expression returned from reduceAll will contain the 
ReductionException instead of the actual exception if one is thrown (use 
ReductionException.InnerException to get at the actual Exception).

Original issue reported on code.google.com by stephen....@gmail.com on 24 Mar 2015 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 12 Apr 2015 at 5:57

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 17 May 2015 at 6:10