Skip to content

Commit 5b1d027

Browse files
Check inputs too
1 parent 545c28b commit 5b1d027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/architecture/testing/driver-interface-test-strategy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ For each API function that can lead to a driver call (more precisely, for each d
4141

4242
* Wherever the specification guarantees parameters that satisfy certain preconditions, check these preconditions whenever practical.
4343
* If the API function can take parameters that are invalid and must not reach the driver, call the API function with such parameters and verify that the driver method is not called.
44+
* Check that the expect inputs reach the driver. This may be implicit in a test that checks the outputs if the only realistic way to obtain the correct outputs is to start from the expected inputs (as is often the case for cryptographic material, but not for metadata).
4445

4546
#### SE driver outputs
4647

0 commit comments

Comments
 (0)