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

More reliable way to determine UI has been repainted #7

Open
romanofski opened this issue Jul 16, 2019 · 0 comments
Open

More reliable way to determine UI has been repainted #7

romanofski opened this issue Jul 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@romanofski
Copy link
Member

This was moved from purebred-mua/purebred#230

The user acceptance tests are currently subject to timing problems (see #228 as an example). The reason for this is polling the terminal output for a specific sub string to appear. This is unfortunately error prone, because the author of the test may not be aware that his sub string is part of subsequent views. The test steps pass until a subsequent test step times out. This can be very confusing and provides no room to execute tests faster, since the potential for ending up with more brittle tests is high.

Therefore the motivation is high, to find a more reliable way to determine if the terminal pane has changed.

Describe the solution you'd like
A more reliable way to determine the terminal pane has been repainted.

Describe alternatives you've considered
The current implementation is error prone, since it polls for changes in the terminal output. No other alternatives have been investigated so far.

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

No branches or pull requests

1 participant