Skip to content

Commit 11e754b

Browse files
committed
link to examples
1 parent 6b931cc commit 11e754b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,30 @@ See https://theintern.io/docs.html#Intern/4 for details on how to start testing
55

66
## Quickstart
77

8+
Install intern and intern-cucumber
9+
10+
```npm install --save-dev intern intern-cucumber```
11+
812
Add the plugin to your `intern.json`:
913

1014
```js
1115
"browser": {
1216
"plugins": {
13-
"intern-cucumber/_build/browser/plugin.js"
17+
"node_modules/intern-cucumber/browser/plugin.js"
1418
}
1519
}
1620
"node": {
1721
"plugins": {
18-
"intern-cucumber/src/plugin.js"
22+
"node_modules/intern-cucumber/plugin.js"
1923
}
2024
}
2125
```
22-
(npm support coming soon)
2326

2427
Load the interface and write tests:
2528
```js
2629
const { registerCucumber, Given, When, Then } = intern.getInterface('cucumber');
2730

2831
registerCucumber(<name>, <featureSource>, <support functions>);
29-
```
32+
```
33+
34+
See https://github.com/rhpijnacker/intern-cucumber-examples for more examples

0 commit comments

Comments
 (0)