runningcode / fladle

Easily scale your Android Instrumentation Tests across Firebase Test Lab with Flank.
https://runningcode.github.io/fladle
Apache License 2.0
250 stars 48 forks source link

Support parameterized-tests parameter #274

Open kozaxinan opened 3 years ago

kozaxinan commented 3 years ago

Flank supports parameterized-tests parameters.

4 values are possible; default, ignore-all, shard-into-single and shard-into-multiple.

### parameterized-tests
  ## Specifies how to handle tests which contain the parameterization annotation.
  ## 4 options are available
  ## default: treat Parameterized tests as normal and shard accordingly
  ## ignore-all: Parameterized tests are ignored and not sharded
  ## shard-into-single: Parameterized tests are collected and put into a single shard
  ## shard-into-multiple: Parameterized tests are collected and sharded into different shards based upon matching names. (Experimental)
  ## Note: If left blank default is used. Default usage may result in significant increase/difference of shard times observed
  ## Note: If shard-into-single is used, a single additional shard is created that will run the Parameterized tests separately.
  ## Note: If shard-into-multiple is used, each parameterized test will be matched by its corresponding name and sharded into a separate shard.
  ##       This may dramatically increase the amount of expected shards depending upon how many parameterized tests are discovered.
  # parameterized-tests: default
runningcode commented 3 years ago

The formatting looks funny! But PRs welcome!

kozaxinan commented 3 years ago

Opps markdown đŸ˜„ PR might come if I can find time.