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 Unit tests for CLI commands #1407

Open
andrii-bodnar opened this issue Feb 6, 2023 · 0 comments
Open

Add Unit tests for CLI commands #1407

andrii-bodnar opened this issue Feb 6, 2023 · 0 comments

Comments

@andrii-bodnar
Copy link
Contributor

Currently, all the CLI commands are not covered by Unit tests. It's difficult to test these commands since it mocks the filesystem and console logs, so this leads to unexpected results and it's very hard to catch bugs during tests.

So this issue requires some refactoring of CLI in order to make it testable.

View the corresponding discussion in the Discord channel. It includes some possible ways how to solve this.

Current coverage of the CLI package - Codecov.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant