-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add CLI integration tests using assert_cmd (#353)
* feat: add CLI integration tests using assert_cmd * feat: add test * fix: address clippy issues * test: extend import test to execute transactions * feat: return result from main instead of just printing errors * test: add extra test for import export notes and fix previous tests * test: add extra test for import export notes and fix previous tests * fix: use assert_cmd way of changing directory * fix: fix for changes in CLI * add debug info for CI * fix: stop using constant account IDs Since we run the miden node with `--concurrent` flag, genesis accounts generation becomes non-deterministic as the concurrent algorithm to generate the account IDs based on the seed can end up using the result of any thread depending on which finishes first. * refactor: make assert_cmd an integration test dependency only * address review comments * test: add check for notes show command on CLI * fix: do correct check when should_fail is true * fix: fix mmr indices traversal * test: add sleep in between sync attempts for cli * test: ignore genesis test by default and enable it on integration-test-full target
- Loading branch information
Showing
10 changed files
with
502 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.