You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is room for extra confusion because a test can FAIL when a stub outputs VERIFY SUCCESS. But a test may also FAIL when a stub outputs VERIFY FAILURE. Anecdotally, this seems to confuse people. The very specific meaning reserved for VERIFY FAILURE doesn't help - it shouldn't be used to signal, for example, that verification failed because the certificate couldn't be fetched thanks to a network error.
I suggest that we rethink our terminology to distinguish test FAIL more clearly from stub VERIFY FAILURE. Fail/failure seems to be a common word used in e.g. unit testing, so maybe we could focus to the stub output protocol.
One option is to use terms accept and reject to refer whether the certificate was accepted or rejected. In pull request #82 (included in version 0.1.0) the trytls tool already started using accept/reject-terminology to tell whether VERIFY SUCCESS or VERIFY FAILURE was the "correct" answer. So there's some precedent and no-one has yet complained 😉
Of course there are other options, and this whole suggestion might be completely misguided. Thoughts?
The text was updated successfully, but these errors were encountered:
There is room for extra confusion because a test can
FAIL
when a stub outputs VERIFY SUCCESS. But a test may alsoFAIL
when a stub outputs VERIFY FAILURE. Anecdotally, this seems to confuse people. The very specific meaning reserved for VERIFY FAILURE doesn't help - it shouldn't be used to signal, for example, that verification failed because the certificate couldn't be fetched thanks to a network error.I suggest that we rethink our terminology to distinguish test
FAIL
more clearly from stub VERIFY FAILURE. Fail/failure seems to be a common word used in e.g. unit testing, so maybe we could focus to the stub output protocol.One option is to use terms accept and reject to refer whether the certificate was accepted or rejected. In pull request #82 (included in version 0.1.0) the trytls tool already started using accept/reject-terminology to tell whether VERIFY SUCCESS or VERIFY FAILURE was the "correct" answer. So there's some precedent and no-one has yet complained 😉
Of course there are other options, and this whole suggestion might be completely misguided. Thoughts?
The text was updated successfully, but these errors were encountered: