This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
Improve test command coverage for networking use cases #382
Open
Description
Describe the solution you'd like
Add tests for networking failures flows in test command datree test <path>
Basic use cases to cover:
Failed to create evaluation
- should create evaluation → meaning to call
CreateEvaluation
- should not request evaluation → meaning not to call
Evaluate
- should print mocked errors.
Failed to request evaluation
- should create evaluation → meaning to call
CreateEvaluation
- should request evaluation → meaning to call
Evaluate
with returnedevaluationID
- should print mocked errors.
Requirements
Golang basic level.