You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that we can start with E2E tests for now. We can run commands and check stdout / stderr and exit code. That can help to be sure that high level stuff works (for example check the environment variables loading priority). Perhaps we can use Bash / Powershell for this, but it would be great to make such tests platform independent.
Not sure if we need to test malformed input as it's covered by Cobra, but maybe we still want to test error output?
Unit tests could help a lot too.
The text was updated successfully, but these errors were encountered:
We need to gradually add tests for CLI.
I think that we can start with E2E tests for now. We can run commands and check stdout / stderr and exit code. That can help to be sure that high level stuff works (for example check the environment variables loading priority).
Perhaps we can use Bash / Powershell for this, but it would be great to make such tests platform independent.Not sure if we need to test malformed input as it's covered by Cobra, but maybe we still want to test error output?
Unit tests could help a lot too.
The text was updated successfully, but these errors were encountered: