Skip to content

Commit

Permalink
updated readme to include testing info
Browse files Browse the repository at this point in the history
  • Loading branch information
doriancrutcher committed Aug 7, 2022
1 parent 632a5c6 commit d019768
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,21 @@ npm run start
```

From there you should be able to modify the greeting.

## Run Tests

This example repo comes with integration tests written in rust and assembly type script.

To run tests run the following in your terminal:

```bash
yarn test
```

or

```bash
npm run test
```

Integration tests are generally written in javascript. They automatically deploy your contract and execute methods on it. In this way, integration tests simulate interactions from users in a realistic scenario. You will find the integration tests for hello-near in integration-tests/.

0 comments on commit d019768

Please sign in to comment.