Skip to content

Commit 8214018

Browse files
author
Serhat Bolsu
committed
More obvious #usage in doc
1 parent f0d5d4d commit 8214018

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ You can copy this library and use as you like, however think about the design ch
3131

3232
## Setup
3333
First need to create your own configurations.
34+
3435
Copy the sample.env and rename to `.env`
3536
- change required variables
3637

@@ -41,13 +42,8 @@ run the server with
4142

4243
```npm start```
4344

44-
Run tests in local
45-
46-
```npm test```
47-
4845

4946
## Test Suites and Example usage
50-
5147
These are example usages of library. From 1 to 3 abstraction of endpoints increases.
5248

5349
#### 1- basic.spec.js
@@ -110,6 +106,16 @@ The API supports adding and deleting individual vegetables. You can also get all
110106
* The name of the vegetable to delete
111107

112108

109+
## Usage
110+
Run tests in local
111+
112+
```npm test```
113+
114+
Run individual test suite
115+
116+
```npm test -- test/basic.spec.js```
117+
118+
113119
## Contributors
114120
Special thanks to [gsypolt](https://github.com/gsypolt/api-testing-javascript) as he is the owner of vegetable api.
115121

0 commit comments

Comments
 (0)