Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failing test for curses hline and vline support #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wileykestner
Copy link

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 using hecate. To get started, I wrote a trivial curses application, box.py. When box.py is run, the screen should have this box in the upper left hand corner (and typing q should cause box.py to exit):

┌──────────┐
│I am a box│
└──────────┘

I wrote a hecate test that asserts what the screen should look when box.py runs.

The current out-of-the-box configuration results in a captured screen that looks like this when run through the Runner class:

lqqqqqqqqqqk
xI am a boxx
mqqqqqqqqqqj

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.

@thijstriemstra
Copy link

ping @DRMacIver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants