Skip to content

added sharding and console.showLogs examples #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/Formatters/console-formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ To use formatter just add formatter section in config file
```javascript
module.exports = {
default: {
format: ['@qavajs/console-formatter']
format: ['@qavajs/console-formatter'],
formatOptions: {
console: {
showLogs: true //show cucumber logs
}
},
}
}
```
Expand Down
9 changes: 9 additions & 0 deletions docs/Guides/parallel.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@ Feature: Parallel
When I type '$user.username' to 'Username Input'
And I type '$user.password' to 'Password Input'
```

### Test Sharding
qavajs provides ability to shard your tests between different machines. To do so pass `--shard x/y` parameter in CLI,
where x - current shard, y - total number of shards.

```
npx qavajs run --config config.js --shard 1/2
npx qavajs run --config config.js --shard 2/2
```