OK, for the future readers, this is what I did:
I split my tests into 3 parts, simply by assigning “@pass1”, “@pass2” & “@pass3” tags. Then I made use of the --watchTags="" parameter and created 3 meteor-instances plus 3 chimp-instances running on different ports. It works great!!! I just need to spend some time on really equally splitting all tests upon those 3 instances… this is something that could be automated in chimp.
The commands I use like:
chimp --ddp=http://localhost:3200 --mocha --path=tests --watchTags="@pass1" --watch
meteor test --full-app --driver-package tmeasday:acceptance-test-driver --port 3200;
In my terminal it looks like this: (I actually have 1 extra chimp-instance for tests marked with “@watch” - those are the tests I am working on at the moment)
The only thing I am missing is the option to run those filtered-tests without the --watch instance. Now all tests restart whenever code changes.
@sam @Sanjo : I have 2 feature suggestions for chimp:
- It would be great if chimp would support splitting up tests by default. Allow the user to configure the “number of parallel meteor instances”… then internally note how long each test takes to pass and split the tests up equally upon the chimp-instances.
- Can you make the
--watchTags="@*" filter work even with “watch”-mode itself disabled? This would be really handy, so that we can keep on developing without the tests restarting?