tests: add test vectors - #1378
Conversation
|
Claude Code is reviewing this pull request... If this comment does not update with results, check the Actions log. |
🔍 SDK Breaking Change DetectionSDK Version:
Breaking change detection uses the build of the SDK from this branch, including any incompatibities pre-existing on or merged into this branch. Check the workflow logs to confirm. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1378 +/- ##
==========================================
+ Coverage 85.81% 86.28% +0.46%
==========================================
Files 490 500 +10
Lines 70590 73444 +2854
==========================================
+ Hits 60574 63368 +2794
- Misses 10016 10076 +60 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds structured test vectors for different account versions. We will add loading functionality later. The aim here is to have all actions (pin, unlock, key rotation) tested for all version types, to prevent regressions such as "a cipher key cipher breaks upon key rotation" which we've recently had.
Ticket: https://bitwarden.atlassian.net/browse/PM-41875
There will be follow-up PR's adding support for these in the integration tests. We can also add rust facilities to make using these in unit tests easier.