Can I use a multiple CI reporters simultaneously?
bitoiu opened this issue · 1 comments
bitoiu commented
Hi guys,
Searched for this a bit but haven't found the answer anywhere so far. In my grunt file:
mocha: {
options: {
reporter: 'mocha-teamcity-reporter'
},
test: {
src: ['tests/**/*.html']
}
}
The thing is I only want to use that reported during CI builds, for dev purposes I want the default reported. Does it make sense / is it possible to add two reporters without having to create two grunt targets?
kmiyashiro commented
Put the options.reporter
in each target. If you want to re-use the src attribute, take a look at templates http://gruntjs.com/configuring-tasks#templates