-
Notifications
You must be signed in to change notification settings - Fork 2
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
[WIP] Add spl-token
tests
#4
Conversation
Before going too far with porting tests over from We're already in the process of refactoring all of the Once that's done, what we can do is the following:
Any unit test that invokes Mollusk's
Then you can move those fixtures into the for fix in fixtures_dir {
let fixture = Fixture::load_from_blob_file(fix);
Mollusk::process_and_validate_fixture(&fixture);
} And boom, that's it, you ran the whole |
Amazing! The tests here are literally a copy-paste from I will definitely follow your suggestion when adding the final tests. |
@buffalojoec Given the way that we ended up doing the |
Let me know if any of the new PRs into Mollusk help this situation, or if you found an alternative with fixtures. |
Close in favour of #5 |
Problem
Currently the tests are limited to only test if instructions can execute.
Solution
Expand the tests by adding the same test suite as
spl-token
program.