Foodcritic / foodcritic

Lint tool for Chef cookbooks.
http://foodcritic.io
MIT License
407 stars 153 forks source link

ci reporters #56

Open jperry opened 12 years ago

jperry commented 12 years ago

It would be nice to add ci_reporters into foodcritic this way other ci tools for example TeamCity can pick up how many rules fail.

acrmp commented 12 years ago

Hi Jason,

Proper support within TeamCity would be great. Can you clarify how you would expect the foodcritic results to map onto the JUnit XML format that ci_reporter outputs? It seems to assume a series of test cases.

Thanks,

Andrew.

jperry commented 12 years ago

Hey Andrew,

I guess it could count the foodcritic as one big suite and report on the rules failing each as a test. Instead of using ci_reporters we could use the teamcity messages instead which teamcity knows how to read. This may be better suited as something you pass as a flag and it mixes in the messages.

http://confluence.jetbrains.net/display/TCD7/Build+Script+Interaction+with+TeamCity

minitest-reporters does some cool stuff like this:

https://github.com/CapnKernul/minitest-reporters

Thoughts?

lamont-granquist commented 9 years ago

related to #169