Skip to content

Convert CLI tests to integration tests #327

Closed
@jreiberkyle

Description

@jreiberkyle

Right now we unit test the CLI and mock out the rest of the planet library. Because we do not perform integration tests with the CLI, we miss errors that occur when the CLI passes unexpected arguments to the library. We could catch these bugs with integration tests that incorporate the CLI. Since the CLI is a thin wrapper around the API, it isn't much of a win to test the CLI alone with unit tests. Therefore, move to integration tests where we don't mock out the rest of the python API but mock the servers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    better-testingImproving test coverage across the project

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions