Skip to content

Commit

Permalink
docs: update "Install" and "Testing" sections in README
Browse files Browse the repository at this point in the history
  • Loading branch information
0xble committed Jul 20, 2023
1 parent 6a9816f commit 7a7f38e
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,34 +100,29 @@ First, install [Foundry](https://book.getfoundry.sh/getting-started/installation
forge install
yarn -D
yarn build
yarn build:ts
```

## Testing

### Run all tests (except fork tests):
### Run tests (except fork tests):

```bash
yarn test
```

### Run only TypeScript tests

```bash
yarn test:ts
forge test -vv
# If you want gas reports:
forge test --gas-report -vv
```

### Run only Foundry tests
### Run forked tests

```bash
yarn test:sol
# If you want gas reports:
yarn test:sol --gas-report
forge test --mt testFork --fork-url $YOUR_RPC_URL -vv
```

### Run Foundry forked tests
### Run all tests

```bash
forge test -m testFork --fork-url $YOUR_RPC_URL
forge test --fork-url $YOUR_RPC_URL -vv
```

## Audits
Expand Down

0 comments on commit 7a7f38e

Please sign in to comment.