Skip to content

Test CLI application #26

Description

@vlopes11

Is your feature request related to a problem? Please describe.
The app can be unit tested, however, not integrated tested without an engine to do so.

Describe the solution you'd like
One alternative is to use nix::pty to emulate terminals in the test environment, and map the inputs to the expected outputs.

Other alternative is to use external scripts (python?) to emulate the terminal

Describe alternatives you've considered
Covering App with only unit tests is also ok, but some parts of it might never be covered such as source rendering

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions