Meteor-Community-Packages / meteor-mocha

A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
https://packosphere.com/meteortesting/mocha
MIT License
67 stars 40 forks source link

No tests running in parallel #130

Open Sharealikelicence opened 2 years ago

Sharealikelicence commented 2 years ago

Hi, I have been trying to get tests to run in parallel using a .mocharc.js file like so:

module.exports = {
  parallel: true
}

But, whenever I try it, none of the tests actually run and I am left with this console output:

I20220519-14:41:54.057(10)?                   
I20220519-14:41:54.065(10)? --------------------------------
I20220519-14:41:54.066(10)? ----- RUNNING SERVER TESTS -----
I20220519-14:41:54.066(10)? --------------------------------
I20220519-14:41:54.066(10)? 
I20220519-14:41:54.066(10)? 
I20220519-14:41:54.066(10)? 
I20220519-14:41:54.066(10)?   0 passing (2ms)

It doesn't even work using the last step of the React Meteor tutorial code. Is this a bug or is there something that I'm not doing correctly? Thanks in advance for any help.

trmpowell commented 1 year ago

@Sharealikelicence, did you figure this out? We've tried this along with TEST_PARALLEL=1 per the readme and haven't been successful.

Edit: Scratch that - TEST_PARALLEL=1 does seem to work for us! Now we just have to fix our tests...