Add notes about istanbul and Geth to website docs

This commit is contained in:
Leonid Logvinov 2019-01-17 19:47:24 +01:00
parent 5816279d68
commit 1c9fb5f65f
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
3 changed files with 18 additions and 0 deletions

View File

@ -64,3 +64,11 @@ await coverageSubprovider.writeCoverageAsync();
``` ```
This will create a `coverage.json` file in a `coverage` directory. This file has an [Istanbul format](https://github.com/gotwarlost/istanbul/blob/master/coverage.json.md) - so you can use it with any of the existing Istanbul reporters. This will create a `coverage.json` file in a `coverage` directory. This file has an [Istanbul format](https://github.com/gotwarlost/istanbul/blob/master/coverage.json.md) - so you can use it with any of the existing Istanbul reporters.
```bash
yarn add -D istanbul
istanbul report html
open coverage/index.html
```
Use [Geth](https://github.com/ethereum/go-ethereum) as a backing node. We recommend using our [Devnet Docker container](https://hub.docker.com/r/0xorg/devnet) which sets up a Geth node for testing purposes. Ganache support is a [work in progress](https://github.com/0xProject/0x-monorepo/issues/1520).

View File

@ -64,3 +64,11 @@ await profilerSubprovider.writeProfilerOutputAsync();
``` ```
This will create a `coverage.json` file in a `coverage` directory. This file has an [Istanbul format](https://github.com/gotwarlost/istanbul/blob/master/profiler.json.md) - so you can use it with any of the existing Istanbul reporters. This will create a `coverage.json` file in a `coverage` directory. This file has an [Istanbul format](https://github.com/gotwarlost/istanbul/blob/master/profiler.json.md) - so you can use it with any of the existing Istanbul reporters.
```bash
yarn add -D istanbul
istanbul report html
open coverage/index.html
```
Use [Geth](https://github.com/ethereum/go-ethereum) as a backing node. We recommend using our [Devnet Docker container](https://hub.docker.com/r/0xorg/devnet) which sets up a Geth node for testing purposes. Ganache support is a [work in progress](https://github.com/0xProject/0x-monorepo/issues/1520).

View File

@ -58,3 +58,5 @@ provider.start();
``` ```
Now when you run your tests, it should print out stack traces when encountering an error. Now when you run your tests, it should print out stack traces when encountering an error.
Use [Geth](https://github.com/ethereum/go-ethereum) as a backing node. We recommend using our [Devnet Docker container](https://hub.docker.com/r/0xorg/devnet) which sets up a Geth node for testing purposes. Ganache support is a [work in progress](https://github.com/0xProject/0x-monorepo/issues/1520).