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

Improve error messages #85

Merged
merged 4 commits into from
Jul 8, 2018
Merged

Improve error messages #85

merged 4 commits into from
Jul 8, 2018

Conversation

smarr
Copy link
Owner

@smarr smarr commented Jul 3, 2018

  • restructure UI to avoid redundant output, by being able to know what has been printed last
  • interact with spinner, to avoid over-writing output
  • failing runs indicate run id, command
  • low mean errors indicate run id, command

@coveralls
Copy link

coveralls commented Jul 3, 2018

Coverage Status

Coverage decreased (-2.08%) to 83.176% when pulling 53df38f on err-messages into e2575c2 on master.

Repository owner deleted a comment Jul 8, 2018
Repository owner deleted a comment Jul 8, 2018
Repository owner deleted a comment Jul 8, 2018
Repository owner deleted a comment Jul 8, 2018
Repository owner deleted a comment Jul 8, 2018
smarr added 3 commits July 8, 2018 18:57
- run info is now printed exactly once
- output should be visually grouped
- a UI instance manages the output
- output now interacts with spinner to get correct output and clean out spinner before printing
- added a dummy UI for tests

Signed-off-by: Stefan Marr <[email protected]>
…builds

- low mean warning should only be given when run didn’t fail
- runs without samples should be indicated as failed
- capture and report output from build on error

Signed-off-by: Stefan Marr <[email protected]>
- simply pass it on
- and init once we have the value
- avoids having to set ui object after construction

Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr mentioned this pull request Jul 8, 2018
2 tasks
@smarr
Copy link
Owner Author

smarr commented Jul 8, 2018

This addresses #71 and #67.

@smarr smarr merged commit 1ba1a61 into master Jul 8, 2018
@smarr smarr deleted the err-messages branch July 8, 2018 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants