You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,10 @@ npm -v
49
49
50
50
## Installation
51
51
52
+
> For using this package name in your bash / terminal, you need to give ' (apostrophe) before and after the package name like below example. Otherwise, you will get an error.
53
+
52
54
1. Create your local project directory
53
55
2.[Export your Postman collection](https://learning.postman.com/docs/getting-started/importing-and-exporting-data/#exporting-collections) to JSON with Collection v2.1 format
54
-
3. Install package with npm
55
-
56
-
```bash
57
-
npm i --save-dev '@dot.indonesia/po-gen'
58
-
```
59
56
4. Create `package.json` file
60
57
61
58
```bash
@@ -68,6 +65,11 @@ npm -v
68
65
npm init -y
69
66
```
70
67
68
+
3. Install package with npm
69
+
70
+
```bash
71
+
npm i --save-dev '@dot.indonesia/po-gen'
72
+
```
71
73
1. Generate template Mocha-Chai script with command
72
74
```bash
73
75
npx '@dot.indonesia/po-gen'
@@ -119,13 +121,13 @@ npm -v
119
121
├───helper
120
122
├───pages
121
123
│ └───User
122
-
│ POST_login.js
124
+
│ POST_login.pages.js
123
125
├───scenarios
124
126
│ └───User
125
127
│ POST_login.spec.js
126
128
├───schema
127
129
| └───User
128
-
| POST_login.json
130
+
| POST_login.schema.js
129
131
└───utils
130
132
```
131
133
@@ -858,7 +860,7 @@ you can use this configuration steps:
0 commit comments