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.
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.