Add failing test for curses hline and vline support #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is meant to be the starting point for a discussion and is not intended as a candidate for acceptance as-is.
I'd love to write integration tests for
curses
applications usinghecate
. To get started, I wrote a trivialcurses
application,box.py
. Whenbox.py
is run, the screen should have this box in the upper left hand corner (and typingq
should causebox.py
to exit):I wrote a
hecate
test that asserts what the screen should look whenbox.py
runs.The current out-of-the-box configuration results in a captured screen that looks like this when run through the
Runner
class:I'd be quite interested in digging in and creating another commit as part of this pull request that implements the feature, but because I'm so unfamiliar with the core problem domain, I thought I would first propose the feature request in the form of a failing test and ask for the author's guidance, if any.