Skip to content

Commit d893dc8

Browse files
added sharding and console.showLogs examples (#57)
1 parent e15490a commit d893dc8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/Formatters/console-formatter.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ To use formatter just add formatter section in config file
1515
```javascript
1616
module.exports = {
1717
default: {
18-
format: ['@qavajs/console-formatter']
18+
format: ['@qavajs/console-formatter'],
19+
formatOptions: {
20+
console: {
21+
showLogs: true //show cucumber logs
22+
}
23+
},
1924
}
2025
}
2126
```

docs/Guides/parallel.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ Feature: Parallel
4141
When I type '$user.username' to 'Username Input'
4242
And I type '$user.password' to 'Password Input'
4343
```
44+
45+
### Test Sharding
46+
qavajs provides ability to shard your tests between different machines. To do so pass `--shard x/y` parameter in CLI,
47+
where x - current shard, y - total number of shards.
48+
49+
```
50+
npx qavajs run --config config.js --shard 1/2
51+
npx qavajs run --config config.js --shard 2/2
52+
```

0 commit comments

Comments
 (0)