You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project needs tests. Possible ways to implement these tests include:
Use an expect-style library (e.g., rexpect or expectrl) to create & interact with a test terminal in which rustyline-async is doing its thing. This may require implementing some test binary that wraps rustyline-async for invocation by the expect library.
Use vt100 or similar to calculate what the screen looks like while using rustyline-async and assert that it looks correct.
Use vhs to record interactions with some test binary that wraps rustyline-async and then assert that the display remains the same after the code changes. ratatui uses this approach for testing its examples.
The text was updated successfully, but these errors were encountered:
This project needs tests. Possible ways to implement these tests include:
Use an
expect
-style library (e.g.,rexpect
orexpectrl
) to create & interact with a test terminal in whichrustyline-async
is doing its thing. This may require implementing some test binary that wrapsrustyline-async
for invocation by the expect library.Use
vt100
or similar to calculate what the screen looks like while usingrustyline-async
and assert that it looks correct.Use
vhs
to record interactions with some test binary that wrapsrustyline-async
and then assert that the display remains the same after the code changes.ratatui
uses this approach for testing its examples.The text was updated successfully, but these errors were encountered: