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
Using test vectors and by mocking the send or card.transmit functions, unit tests for functions that call the send function can be written. However mocking a pcsc::Card proved to be difficult, an issue is created in pcsc GitHub: bluetech/pcsc-rust#50.
The functions that can get unit tests after this are:
Using test vectors and by mocking the
send
orcard.transmit
functions, unit tests for functions that call thesend
function can be written. However mocking apcsc::Card
proved to be difficult, an issue is created inpcsc
GitHub: bluetech/pcsc-rust#50.The functions that can get unit tests after this are:
read_data_from_ef
,establish_bac_session_keys
,send
function,process_secure_rapdu
.The text was updated successfully, but these errors were encountered: