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
For now, all the testing was done manually. As a result, it takes a lot of time and can cause be the reason for some bugs. So, we should write automatic tests to cover at least some crucial part of the code.
The main problem is that we do not know yet how(and is it possible at all) to run an emulator and to test functions which require Ledger SDK. So, it could be a point of discussion.
So, as for us, the only way to write meaningful tests is to test apdu calls. We have a request for getting the public key and based on it, we can check the following:
Get the version and check if nothing fails
Get the public key and check if it's valid
Get the address and check whether this public key generates this address
Get a signed public key and check whether we can recover our public key from this signature
Sign some tx and check whether it is valid and check the inner hash of tx
The text was updated successfully, but these errors were encountered:
@Retsediv commented on Mar 15
For now, all the testing was done manually. As a result, it takes a lot of time and can cause be the reason for some bugs. So, we should write automatic tests to cover at least some crucial part of the code.
The main problem is that we do not know yet how(and is it possible at all) to run an emulator and to test functions which require Ledger SDK. So, it could be a point of discussion.
So, as for us, the only way to write meaningful tests is to test apdu calls. We have a request for getting the public key and based on it, we can check the following:
The text was updated successfully, but these errors were encountered: