Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Kullmann committed Apr 3, 2019
1 parent d14feb4 commit 2f8858d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You will need it to define steps (see [Writing step definitions](#writing-step-d

## Upgrading from version 1.x

With TestCafé version 1.0, this package has introduced some breaking changes to it's API.
With TestCafé version 2.0, this package has introduced some breaking changes to it's API.
These changes help this package be more future-proof in terms of upcoming features.

When upgrading this package from version 1 to version 2, keep in mind, that the following things have changed:
Expand Down Expand Up @@ -56,7 +56,21 @@ Use `--help` command to see all options:
gherkin-testcafe --help

All [TestCafé CLI options](https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html) are supported.


Additionally, you can specify tags to run (see [Tags](#tags)):

gherkin-testcafe firefox tests/**/*.js tests/**/*.feature --tags @TAG

When using more than one tag, the list needs to be comma separated:

gherkin-testcafe firefox tests/**/*.js tests/**/*.feature --tags @TAG1,@TAG2

Negation of a tag (via `~`) is also possible:

gherkin-testcafe firefox tests/**/*.js tests/**/*.feature --tags @TAG1,~@TAG2

This runs all scenarios that have `TAG1`, but not `TAG2`

## Programming interface

To get more fine grained control over the testrun, you can use the programming interface.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gherkin-testcafe",
"version": "2.1.0",
"version": "2.2.0",
"author": "Lukas Kullmann <[email protected]>",
"contributors": [
"Wilhelm Behncke <[email protected]>",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"main": "src/index.js",
"scripts": {
"prettier": "prettier --write 'src/**/*.{js,yaml,yml,json,md}'",
"prettier": "prettier --write 'src/**/*.js' README.md main.js index.d.ts",
"prettier-check": "prettier --list-different 'src/**/*.{js,yaml,yml,json,md}'"
},
"dependencies": {
Expand Down

0 comments on commit 2f8858d

Please sign in to comment.