-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This project needs tests. Possible ways to implement these tests include:
-
Use an
expect-style library (e.g.,rexpectorexpectrl) to create & interact with a test terminal in whichrustyline-asyncis doing its thing. This may require implementing some test binary that wrapsrustyline-asyncfor invocation by the expect library. -
Use
vt100or similar to calculate what the screen looks like while usingrustyline-asyncand assert that it looks correct. -
Use
vhsto record interactions with some test binary that wrapsrustyline-asyncand then assert that the display remains the same after the code changes.ratatuiuses this approach for testing its examples.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request