Skip to content

Commit

Permalink
Add e2e setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwhisperer committed Jun 23, 2019
1 parent 0edaea5 commit 674c6ec
Show file tree
Hide file tree
Showing 19 changed files with 1,321 additions and 1,315 deletions.
23 changes: 22 additions & 1 deletion packages/e2e-tests/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
# End-to-end tests

To test only one file, try:
`npm test -- src/cli/ipfs.test.js`

```sh
npm test -- src/cli/version.test.js
```

## Local environment

Some commands like `aragon run` depend on a local dev environment (ipfs, ganache).

We set up this up during the `pretest` hook & tear it down during the `posttest` hook.

Pretest:

* Start IPFS
* Start Ganache
* Create a test app

Posttest:

* Stop IPFS
* Stop Ganache
* Delete the test app
Loading

0 comments on commit 674c6ec

Please sign in to comment.