nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.
MIT License
101 stars 12 forks source link

Assert-Throw fails with null reference when unwrapping error from .net call #18

Closed nohwnd closed 7 years ago

nohwnd commented 7 years ago

Moving to InvokeWithContext ( to be able to force non-terminating errors to terminating ), I am now forced to unwrap the exception on fail. Unfortuantely it does not wrap the exceptions consistently, to I need to handle different sources of exceptions differently. Add more tests with as many different exception sources as possible.

nohwnd commented 7 years ago

Fixed in 0.7.1