Skip to content

Commit

Permalink
Merge pull request #10 from Banno/groovy-example
Browse files Browse the repository at this point in the history
add groovy buildscript configuration example
  • Loading branch information
joshschriever authored Nov 14, 2019
2 parents 45fc01b + fbb5bf9 commit c067627
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ gordon {
}
```

##### for groovy buildscripts, add `.INSTANCE` to `PoolingStrategy` because it is a kotlin sealed class
```groovy
import com.banno.gordon.PoolingStrategy
gordon {
poolingStrategy.set(PoolingStrategy.PhonesAndTablets.INSTANCE)
}
```

#### Pooling strategies
- `EachDevice` - each device is its own pool, so each test will run on each device
- `AllDevices` - all devices make up one pool, so each test will run only once, on an unspecified device
Expand Down

0 comments on commit c067627

Please sign in to comment.