Skip to content

How to write unit testing for dialoguer ? #95

Open
@sdttttt

Description

@sdttttt

Thank you for this great project :)

I wrote an interactive cli program. I want to do unit tests for some of these input actions to try to improve my test coverage.
But I have encountered difficulties, I tried to use io::stdout, but it didn't work.

How do I test the movements of dialoguer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-featureType: Feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions