mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Add explicit testing docs (#639)
* Add explicit testing docs * Update README.md
This commit is contained in:
parent
9a832dc9b7
commit
f156940701
17
README.md
17
README.md
@ -111,12 +111,23 @@ Running all tests requires running Ocean Protocol components beforehand with [Ba
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/oceanprotocol/barge
|
git clone https://github.com/oceanprotocol/barge
|
||||||
cd barge
|
cd barge
|
||||||
git checkout v3
|
|
||||||
|
|
||||||
./start_ocean.sh --no-dashboard
|
./start_ocean.sh --with-provider2 --no-dashboard
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then proceed to run in another terminal, executing linting, type checking, unit, and integration tests with coverage reporting all in one go:
|
You can then proceed to run in another terminal.
|
||||||
|
|
||||||
|
Let ocean.js know where to pickup the smartcontract addresses:
|
||||||
|
```
|
||||||
|
export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
|
||||||
|
```
|
||||||
|
|
||||||
|
Build metadata:
|
||||||
|
```
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
|
Executing linting, type checking, unit, and integration tests with coverage reporting all in one go:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm test
|
npm test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user