-
Notifications
You must be signed in to change notification settings - Fork 7
test(encrypted maps): CRP-2839 copy and adapt Rust unit tests to canister tests that are also used to test the Motoko canister #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
in reality, Cursor did all the work and I will get the credits \o/ I tried to check though that everything is correct and it looks valid and the tests for the rust canister do pass
|
This includes changes from #191, which will disappear once that PR is merged and this one is rebased. |
fspreiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @altkdf! Here are a few minor comments.
|
Thanks for the improvement suggestions @fspreiss ! In this PR I basically ported the existing unit tests to canister tests. But I believe having the unit tests still makes sense as well as long as we keep both in sync s.t. we can also assess the coverage (if that's not too much overhead). If we want to have it in that way, we would need change incorporate your suggestions in both files. If we decide to do that, I would prefer to apply your suggestions in another PR to keep this isolated. WDYT? |
A separate PR that does it for both tests sounds good to me! |
No description provided.