tolbertam / mocha-appveyor-reporter

Mocha reporter for AppVeyor CI Integration
Other
13 stars 5 forks source link

Hides original log #10

Closed xPaw closed 7 years ago

xPaw commented 8 years ago

Whenever this reporter is used, it hides all the original test report in the logs for some reason. e.g. If you run it locally, it will only say that APPVEYOR_API_URL is not set, and nothing else.

tolbertam commented 7 years ago

Sorry for the super late delay in response.

Unless I'm misunderstanding the issue, I think it's because this reporter itself doesn't write anything to stdout. Using it instead of the default (spec) reporter for example would cause nothing to be logged. What I do is use mocha-multi and set the multi environment variable like so:

$env:multi="spec=- mocha-appveyor-reporter=-"
./node_modules/.bin/mocha test/unit -R mocha-multi

Alternatively, we could have the reporter print output exactly like the spec reporter. Or maybe support an option that when enabled that logs output similar to spec.

tolbertam commented 7 years ago

Closing, but please reopen if my comment is not adequate.