Skip to content

test: rs-sdk tests using test vectors saved/loaded from files - #1515

Merged
lklimek merged 14 commits into
rs-sdk/test-fetch-and-listfrom
rs-sdk/generate-from-proof-test-vectors
Oct 24, 2023
Merged

lklimek merged 14 commits into
rs-sdk/test-fetch-and-listfrom
rs-sdk/generate-from-proof-test-vectors

Conversation

@lklimek

@lklimek lklimek commented Oct 19, 2023 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Rust SDK tests should work offline (without running platform).

What was done?

  1. Implemented support in rs-dapi-client for saving and loading of test vectors.
  2. Implemented online-testing feature in rs-sdk that runs the tests against local Platform instance and dumps test vectors
  3. Removed obsolete tests from rs-drive-proof-verifier, to be replaced by rs-sdk tests

How Has This Been Tested?

As described in rs-sdk/README.md

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lklimek
lklimek force-pushed the rs-sdk/generate-from-proof-test-vectors branch from 0cc5a04 to d544d03 Compare October 19, 2023 11:09
@lklimek
lklimek marked this pull request as ready for review October 19, 2023 13:13
@lklimek
lklimek requested a review from fominok October 24, 2023 08:41
@lklimek
lklimek merged commit 564a8b1 into rs-sdk/test-fetch-and-list Oct 24, 2023
@lklimek
lklimek deleted the rs-sdk/generate-from-proof-test-vectors branch October 24, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants