Pass --tests to dependent test tasks


(Andrew Holland) #1

Hi,

I have a test task that depends on other test tasks, but when i pass the --tests arguments from the command line it just ignores them and runs all the tests.

This is how my test block is configured.

test { dependsOn ['firefox','chrome'].collect { tasks["${it}Test"] } enabled = false }

Any idea on what i need to change to pass the --tests arguments to my test tasks

Cheers

Andy