Skip to content

Tests against command output #62

Open
@ChaoticTempest

Description

With a lot of changes hitting in the future, testing will prove vital to making sure we get all of them working properly.

Currently output for commands are being printed to stdout which is really hard to test against. Some potential solutions could include just returning it and allowing some tests to be ran against them. Each of the commands from what I've seen just return Result<()> AFAIK.

This could be a large undertaking though, due to the amount of types that are present. Hopefully after reducing the boilerplate and deduplicating several types like Sender, we can get to a point where we can do this more easily.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      NEW❗

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions