Skip to content

Commit

Permalink
Add way to run a subset of the interface tests (ipfs#1573)
Browse files Browse the repository at this point in the history
* docs: fix type in README

* test: add way to run a subset of the interface tests
  • Loading branch information
vmx authored and Alan Shaw committed Sep 18, 2018
1 parent af30ea5 commit aa6e8be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ Listing of the main packages used in the IPFS ecosystem. There are also three sp
### Run tests

```sh
# run all the unit tsts
# run all the unit tests
> npm test
# run just IPFS tests in Node.js
Expand All @@ -917,6 +917,9 @@ Listing of the main packages used in the IPFS ecosystem. There are also three sp
# run just IPFS core tests in the Browser (Chrome)
> npm run test:browser
# run some interface tests (block API) on Node.js
> npm run test:node:interface -- --grep '.block'
```

### Run interop tests
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"test:node:http": "aegir test -t node -f test/http-api/index.js --timeout=10000",
"test:node:gateway": "aegir test -t node -f test/gateway/index.js --timeout=10000",
"test:node:cli": "aegir test -t node -f test/cli/index.js --timeout=10000",
"test:node:interface": "aegir test -t node -f test/core/interface.spec.js --timeout=10000",
"test:bootstrapers": "IPFS_TEST=bootstrapers aegir test -t browser -f test/bootstrapers.js --timeout=10000",
"benchmark": "echo \"Error: no benchmarks yet\" && exit 1",
"benchmark:node": "echo \"Error: no benchmarks yet\" && exit 1",
Expand Down

0 comments on commit aa6e8be

Please sign in to comment.