Alternatives to passing files to a test runner



From the documentation I understand that test files are appended to the command I use to run my test runner.

I am using gulp, and unfortunately, gulp handles every argument as a task name.
So, for “gulp test file1 file2”, gulp will try to run 3 tasks instead of passing file1 and file2 as args for my “test” task.

Are there alternatives for passing the file names in CCI? Could I set the files as an environment variable?



I’m having exactly the same issue. Trying to set up parallelization and ran into this problem.



My workaround was to use a script file as a middle man.
It receives the files as args and save to a temporary file.
Then, gulp reads the temp file for the files list.

Sample code: