authenticator-rs icon indicating copy to clipboard operation
authenticator-rs copied to clipboard

Rewrite tests that use mock devices

Open jschanck opened this issue 2 years ago • 0 comments

The mock device tests (e.g. test_get_assertion_ctap2_pre_flight) are hard to maintain because they simultaneously test high-level protocol behavior and low-level serialization details. We should have separate tests for protocol behavior and serialization. The protocol behavior tests should use virtual authenticators.

jschanck avatar Aug 23 '23 18:08 jschanck