autostep / AutoStep

AutoStep Testing Framework - Core Libraries and Components
MIT License
22 stars 1 forks source link

Assertion Support #72

Open alistairjevans opened 4 years ago

alistairjevans commented 4 years ago

At the moment, there is a single exception AssertionException that we throw if a step (or something else) fails.

This should really be extended with an Assert static class or something similar, to provide XUnit-style assertion methods; to make it easier to throw useful errors.

The raised exception should then contain more contextual information about the assertion failure.