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

Table too wide, not truncating with ellipse #20

Closed
lbraun opened this issue Jan 15, 2021 · 3 comments
Closed

Table too wide, not truncating with ellipse #20

lbraun opened this issue Jan 15, 2021 · 3 comments

Comments

@lbraun
Copy link
Contributor

lbraun commented Jan 15, 2021

We are adding simplecov-console to a project with very poor coverage. The output has so many entries in the "missing" column that every row wraps and is rather unreadable. The README implies that the content of that column should be truncated with an ellipse, if there are too many missing lines.

Is this a configuration that I am not finding? Thanks for your help.

@chetan
Copy link
Owner

chetan commented Jan 21, 2021

@lbraun tbh, I think I may have manually added an ellipse for the purposes of the readme as the output was too long to display nicely. I should probably update that with a more recent example from my test repo.

That said, it's an easy enough change to add this sort of limit. Wil be pushing a change to do that shortly.

@chetan
Copy link
Owner

chetan commented Jan 21, 2021

Fixed in v0.9. See the new config options: MAX_LINES and MISSING_LEN

@chetan chetan closed this as completed Jan 21, 2021
@lbraun
Copy link
Contributor Author

lbraun commented Jan 28, 2021

Thanks so much @chetan !
Works great.

I made one small improvement in #21

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

No branches or pull requests

2 participants