grunt-mocha-webdriver
grunt-mocha-webdriver copied to clipboard
[feature] See a progress bar
For long running E2E tests with Saucelabs this would be very nice.
Currently, when you run a test that takes more than 8 minutes, all you see is just:
Running "mochaWebdriver:sauce" (mochaWebdriver) task
=> Connecting to Sauce Labs ...
>> Connected to Sauce Labs.
and nothing else. And after 8 minutes, lots of log lines appear and you begin to analyse. Not user-friendly. Hence I think a progress bar would be a nice-to-have-feature.
Right now, because of the concurrency option and the custom sauce reporter that is used when running tests on saucelabs or selenium, it is not really "possible".
Maybe #57 will help with that aspect: in my refactoring, I was thinking of adding a new option that will allow you to choose to display mocha updates right away (usefull if concurrency = 1) or buffer them and display them at the end.
Yes, that would be great!