-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
[Logs] Add colorful text log for CLI output #1810
Comments
Hello, let me ask a couple of questions to understand how it's going to work
If using ANSI sequenses, I guess the readability of the file will be reduced in the "raw" editor mode, because of ANSI chars (like |
I guess it would be better to just introduce a new |
one more question: did you try or do you mean we need a characters |
Exactly this: the current color hightlights would be enough with original formatting, but inlining everything makes them useless again. |
I see, thank you. So the best way is to find such differ written in PHP so we don't need to integrate with/require This should be investigated. From the quick look, we can find some packages to try out, for example: If you @Slamdunk has any suggestion, please advice. |
I saw just now the I'll propose a PR in the next week then 💪 |
that would be very cool. Thank you! |
Hello @Slamdunk are you interested in adding this feature? If not, could you please show some examples where we can get that "inline-differ" and see how it works? Thanks |
Sorry Maks, yes I'm still interested but got overwhelmed at job, sorry 😅 I forgot what I talking about, I had few snippet but lost them 😞 |
Released: https://github.com/infection/infection/releases/tag/0.29.2 Thank you @Slamdunk |
Hi, I'd like to have a colorful text log for CLI.
I am aware of the precious logs that are already present, like
HTML
,JSON
,Summary
andStryker
, but they are not very TDD friendly.This is particularly necessary since Infection removes all indentation, so murators like
ArrayItemRemoval
are very hard to read when hundreds of LoC are compressed in a single line intext
output.I'm currently workarounding this with the
text
log, making it a compatiblediff --unified
format and redirecting it todiff-so-fancy
, with this little bash script:text-to-colorful-diff.sh
Before
After
The text was updated successfully, but these errors were encountered: