Closed erikedin closed 6 years ago
I couldn't use @test
, because it's heavily integrated into reporting and other stuff. I don't know of any test assert frameworks (because I haven't really looked).
The @assert
macro could work, but then you would hide asserts in peoples code, and report them as test failures instead, which would be bad.
I made my own macro @expect
.
Do I use an existing test framework or do I write my own test asserts? Can I rewrite the @given macro as a custom TestSet in Base.Test? Do I want to do that? In short, how do I propagate errors from the step definitions?