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

Add to CLI unit tests #174

Closed
minghinmatthewlam opened this issue Dec 4, 2023 · 1 comment
Closed

Add to CLI unit tests #174

minghinmatthewlam opened this issue Dec 4, 2023 · 1 comment
Labels
enhancement New feature or request tests

Comments

@minghinmatthewlam
Copy link
Contributor

Context and scope
There are some basic unit tests in PR, but we can also add unit tests with basic inputs. There are unit tests on branch cli-unit-tests, which run successfully individually, but ran altogether in go test ./... they fail. This is likely due to some shared state, and the commands not reinitializing between the test cases.

Discussion and alternatives
In the unit tests might need to make copies of the commands to initialize between test cases.

@michaelkaplan13
Copy link
Collaborator

Closing this since the Teleporter CLI is going to be removed in favor of commands within the Avalanche CLI as a part of #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests
Projects
Archived in project
Development

No branches or pull requests

2 participants