From 2f8858db6bcfdd5b83ebe23fd2ede943a414f1c6 Mon Sep 17 00:00:00 2001 From: Lukas Kullmann Date: Wed, 3 Apr 2019 09:05:12 +0200 Subject: [PATCH] Upgrade version --- README.md | 18 ++++++++++++++++-- package-lock.json | 2 +- package.json | 4 ++-- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 87e9b00..5b95e5d 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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. diff --git a/package-lock.json b/package-lock.json index c725513..8fde344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gherkin-testcafe", - "version": "2.0.0", + "version": "2.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 29a410c..e54c61a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gherkin-testcafe", - "version": "2.1.0", + "version": "2.2.0", "author": "Lukas Kullmann ", "contributors": [ "Wilhelm Behncke ", @@ -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": {