hbenl / vscode-mocha-test-adapter

Mocha Test Adapter for the VS Code Test Explorer
MIT License
91 stars 31 forks source link

more verbose logging please! #160

Open lifeiscontent opened 3 years ago

lifeiscontent commented 3 years ago

Hi there, thanks for the plugin, I'm having a hard time trying to get this plugin to work with our current mocha setup, we require mocha to run as follows: mocha [test/**/filename] [opts] and it looks like you run mocha with some kind of bundle file. so our tooling freaks out because its not in the test folder. It would be helpful to know what sorts of details mocha is being ran with in the logger of Test Explorer. is this possible?

hbenl commented 3 years ago

Have you tried the mochaExplorer.logpanel or mochaExplorer.logfile configuration settings? Those logs are quite verbose. In general it's a good idea to put your mocha options in a mocha configuration file so that you can run your tests calling mocha without any more arguments. If that works, then it should work with this plugin (with no further configuration) as well.