-
Notifications
You must be signed in to change notification settings - Fork 500
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
Runtime stat with test names containing colons symbol #574
Conversation
that should never happen ... runtime log is supposed to only include file names ... so better fix the logger that produced this and not keep the bad format ... |
@grosser thanks for fast response The problem I'm trying to solve right now is: It would be great if parallel_test will support such format and treat |
if you already do your own reporter, how about patching this method to do your bidding too ? |
I understand you as the owner of the gem which is very popular and I really love it.
|
atm the times are not added so having the examples being parsed would be wrong ? |
This PR is more about fixing the issue with a colon in a filename (which will make my life easier and hope someone else too). Here is description what I'm doing in my case:
What I do is 2 steps:
Which is basically like this and finishes in about 1 sec
|
In example you provided above you are right, they are not added if you pass filename to parallel_tests. But if you pass examples with ids it will end up 1.3 instead of 2.5 for whole file |
|
looks like this could be useful for some weird cases ... and it's pretty cheap ... so I'll just merge ... but still not feeling very convinced this is a good idea ... |
@grosser thanks for merging it
|
In case of example containing
:
likesome_spec.rb[1:2:3]
or 'some:spec.rb' runtimes file will contain records likeand parsed file will have wrong name/runtime statistic.