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
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.
The text was updated successfully, but these errors were encountered:
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 ingo 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.
The text was updated successfully, but these errors were encountered: