Open darkn3rd opened 7 years ago
@darkn3rd did you add it to your Gemfile?
Hello. I did add it. I have gotten these to work, but this requirements to have --require
is quite painful. Our test group may have sub-directories with the tests.
So I pass in a command like:
bundle exec rspec --no-color --format progress --require /gobalto/spec/integration --format Spec::Runner::Formatter::TeamcityFormatter spec/integration
Which will fail, as there are no immediate tests in there, only in the sub-directories. When I run it regularly without --require
and the TeamCity formatter, use html, it works find, finds everything by the last parameter passed of spec/integration
Oh. I see. I'm sorry to say I haven't worked on this in long enough that I don't actually know how to work around that. If you are able to patch this, that's a very welcome pull request 😸
It seems the utility of this is limited, as you have to explicitly list the individual files. The reason why I am interested in this reporter is because TeamCity Rails Runner doesn't seem to work through Docker. Thus I use this reporter in the container, and get nice UI output in TeamCity.
SUMMARY
I cannot get this to work, not sure what to do. It looks like there needs to be
spec/runner/formatter/teamcity_formatter
, but don't know if I need to do anything.ACTUAL RESULTS
STEPS
I added this to my configuration:
And ran it by doing this: