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

Enhancing unit testing #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

dandagow3t
Copy link

Added local_test_validator as running the unit tests and relying on Anchor.toml [test.validator.clone] was not working (an error referring to 'Account is not executable' was thrown). So I've downloaded the accounts and programs manually from devnet and included them in the local_test_validator. Now, you can unit test starting this validator in a separate shell (local_validator/start-test-validator.sh) and then running the tests with anchor test --skip-local-validator..

Changed the Readme.md to reflect that.

Small enhancements to the unit test files.

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.

1 participant