HackerTrans
TopNewTrendsCommentsPastAskShowJobs

_lambdalambda

no profile record

Submissions

KEMs and Post-Quantum Age

words.filippo.io
3 points·by _lambdalambda·4 ปีที่แล้ว·0 comments

comments

_lambdalambda
·4 ปีที่แล้ว·discuss
Even with multiple assertions the test failure reason should be quite clear as most testing frameworks allow to specify a message which is then output in the testing summary.

E.g. `assertEqual(actual_return_code, 200, "bad status code")` should lead to output like `FAILED: test_when_delete_user_then_ok (bad status code, expected 200 got 404)`