File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,30 @@ See https://theintern.io/docs.html#Intern/4 for details on how to start testing
5
5
6
6
## Quickstart
7
7
8
+ Install intern and intern-cucumber
9
+
10
+ ``` npm install --save-dev intern intern-cucumber ```
11
+
8
12
Add the plugin to your ` intern.json ` :
9
13
10
14
``` js
11
15
" browser" : {
12
16
" plugins" : {
13
- " intern-cucumber/_build /browser/plugin.js"
17
+ " node_modules/ intern-cucumber/browser/plugin.js"
14
18
}
15
19
}
16
20
" node" : {
17
21
" plugins" : {
18
- " intern-cucumber/src /plugin.js"
22
+ " node_modules/ intern-cucumber/plugin.js"
19
23
}
20
24
}
21
25
```
22
- (npm support coming soon)
23
26
24
27
Load the interface and write tests:
25
28
``` js
26
29
const { registerCucumber , Given , When , Then } = intern .getInterface (' cucumber' );
27
30
28
31
registerCucumber (< name> , < featureSource> , < support functions> );
29
- ```
32
+ ```
33
+
34
+ See https://github.com/rhpijnacker/intern-cucumber-examples for more examples
You can’t perform that action at this time.
0 commit comments