Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 19fea60

Browse files
Merge pull request #3 from qavajs/lib-upgrade
update dependencies
2 parents f9f7968 + 2aaeb07 commit 19fea60

File tree

13 files changed

+8565
-9807
lines changed

13 files changed

+8565
-9807
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
coverage/
33
test/
4+
test-e2e/
45
.github/

CHANGELOG.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## [0.2.0]
2+
- updated dependencies
3+
- added e2e tests
4+
5+
## [0.0.1]
6+
- Initial implementation

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
# @qavajs/soft-assertion
2-
Module that enables soft assertions in qavajs framework
2+
Soft assertions for qavajs frameworks
33

44
## Installation
55
`npm install @qavajs/soft-assertion`
66

77
## Usage
88

9-
Add module to requireModule and set activation tag (default is @softAssert).
10-
Soft assertion change behavior of Cucumber and Then steps will not cause test case failure.
9+
Add module to requireModule and set activation tag (default is _@softAssert_).
10+
Soft assertion change behavior of CucumberJS and _Then_ steps will not cause test case failure.
1111
```javascript
1212
module.exports = {
1313
default: {
1414
requireModule: [
1515
'@qavajs/soft-assertion'
1616
],
17-
softAssertTag: '@yourTag'
17+
softAssertTag: '@softAssert'
1818
}
1919
}
20+
```
21+
22+
```gherkin
23+
Feature: Feature
2024
25+
@softAssert
26+
Scenario: verify soft assert
27+
# first step fails but other steps will not be skipped
28+
Then I expect '2' to equal '1'
29+
# pass
30+
And I expect '1' to equal '1'
31+
# fail
32+
And I expect '2' to equal '1'
33+
# pass
34+
And I expect '1' to equal '1'
2135
```

jest.config.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)