Closed brbrr closed 7 years ago
Hello, thanks for your contribution!
But, unfortunately, I cannot accept your changes.
Allure
class instances for each target browser and runs them in parallel, so with this option threads would erase results of each otherBROWSER=chrome npm test && BROWSER=firefox npm test
There your solution also wouldn't work.
Also I understand our fault that we haven't provided any official solution to clean up result dir before test start. Actually we have this in example with Mocha. If you run your tests with npm test
command, the pretest
script also will be automatically executed before main test
script, so this is a good place to put cleanup command.
@brbrr will this solution help you?
Closing due to inactivity
with
cleanDir
optionallure results dir would be cleaned up before start