Email or username:

Password:

Forgot your password?
Top-level
Philip Mallegol-Hansen

@J12t Realize this isn’t exactly what you’re asking, but the way I would achieve that in a “traditional” testing framework would be: One test confirms response != null, that test is passing, second test confirms that data format is as expected, that test fails.

1 comment
Johannes Ernst

@philip For Fediverse testing, I"m looking to produce reports that say something like Pass / Fail / Degraded where Degraded is things like "objects regardless of type have become a Note". Thinking of maybe having two types of AssertionErrors; still has the problem that if they are thrown as exceptions, a test will stop right there.

Go Up