Test splitting not working with mocha-junit-reporter

If you are trying to use Test Splitting with mocha-junit-reporter and running into the following message:

Error autodetecting timing type, falling back to weighting by name. 
Autodetect no matching filename or classname.

It likely is related to the filenames not being in the proper format in the XML file. There is an open issue with a workaround here that will allow this to work with CircleCI:

https://github.com/michaelleeallen/mocha-junit-reporter/issues/132

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.