Skip to content
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

Arbitrary testutils #1134

Merged
merged 4 commits into from
Nov 7, 2023
Merged

Arbitrary testutils #1134

merged 4 commits into from
Nov 7, 2023

Conversation

brson
Copy link
Contributor

@brson brson commented Nov 7, 2023

What

Move the arbitrary module under the testutils module.

FIxes #1131

Why

All other testutils features are under the testutils module.

Known limitations

This does not leave a deprecated module of reexports in the old location, so fuzz users will experience breakage. The soroban-examples repo and the fuzzing tutorial will need to be updated.

There is other possible restructuring of the arbitrary module that could also be done, but is not, e.g. the contents of arbitrary could be reexported directly under testutils.

This leaves the private arbitrary_extra module in its current location.

soroban-env-common has a corresponding arbitrary module, but it is private. Now these two crates will have their corresponding modules located in different places.


I also updated the lockfile for tests/fuzz/fuzz, as Cargo seems to want it updated.

@leighmcculloch leighmcculloch added this pull request to the merge queue Nov 7, 2023
Merged via the queue into stellar:main with commit d31628c Nov 7, 2023
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.

Move arbitrary module into testutils module
2 participants