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

Create Forc wallet configuration for tests #6283

Open
sdankel opened this issue Jul 19, 2024 · 0 comments
Open

Create Forc wallet configuration for tests #6283

sdankel opened this issue Jul 19, 2024 · 0 comments
Labels
enhancement New feature or request forc-client Everything related to the `forc-client` crate. testing General testing

Comments

@sdankel
Copy link
Member

sdankel commented Jul 19, 2024

In order to test CLI flow that interact with a user's wallet, we need some test utilities for creating a "test" wallet, starting a node with that wallet's accounts funded, and overriding the behavior of default_wallet_path to point to the test wallet when it's called from a test context, so as not to interfere with the user's wallet.

This will unlock the ability to write comprehensive end-to-end tests for forc-client.

@sdankel sdankel added enhancement New feature or request testing General testing forc-client Everything related to the `forc-client` crate. labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc-client Everything related to the `forc-client` crate. testing General testing
Projects
None yet
Development

No branches or pull requests

1 participant