Skip to content
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
@noaabarki

Description

@noaabarki

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 returned evaluationID
  • should print mocked errors.

Requirements
Golang basic level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomerstestingThis issue or pull request is related to testingup for grabsLooking for a contributor to take this task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions