Skip to content

Commit

Permalink
docs: README on runnig load test
Browse files Browse the repository at this point in the history
  • Loading branch information
boolafish committed Nov 13, 2019
1 parent 44b5c42 commit fc17ac4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ npm install

You can then compile the contracts.
```
./node_modules/.bin/truffle compile
npx truffle compile
```

Or run the tests
```
./node_modules/.bin/truffle test
npm run test
```

## Configuration
Expand Down Expand Up @@ -97,3 +97,14 @@ Running slow (overnight) tests:
```
make runslow | tee raport.txt
```

### Run Load Tests
We have code for load tests but is skipped by default. Currently it needs manual setup to run it locally.
You should go to the `test/loadTests/` folder to find the test you would like to enable.
Remove the `.skip` on the test, and change it to `.only`.

Run the following command to run the test afterward:

``
npx truffle test --network loadTest
```

0 comments on commit fc17ac4

Please sign in to comment.