Skip to content

Need testing for edge cases and idiosyncrasies #68

Description

@pederhan

The following situations need to have tests implemented for them:

  • No auth credentials should prompt: Launching the application with no Harbor auth credentials then running a command which requires credentials should prompt for credentials, then run the command with the given credentials. Test should ensure that a prompt is shown, the arguments are parsed successfully, and that the Harbor client is updated with said credentials. Finally, ensure the client uses the new credentials when running the command.
  • Global options overrides are reset between commands in REPL: When in the REPL, using a global option such as --json should only last for the duration of that command and should reset back to the original setting after the command has finished executing.

This list should be expanded with all such examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsAutomated tests

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions