Skip to content

Commit

Permalink
add smoke test readme to more proper location v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrowDom committed Feb 1, 2021
1 parent 46f0688 commit 0de99d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ Connect MetaMask to `http://localhost:8545`.
When freshly starting a node it is usually nedessary to also reset Metamask Account being used:
- Click on Account top right icon -> settings -> advanced -> Reset Account

### Running Smoke Tests

Smoke tests can be ran in 2 modes:
- Run `scripts/test/smokeTest.sh` to launch interactive mode. All the "before contract changes" parts of tests
will execute and wait for the user to manually using a console performs contract changes. Once those are done
hit "Enter" in the smoke test console and the second part of the tests shall be ran that validate that contract
changes haven't broken basic functionality.
- Run `scripts/test/smokeTest.sh --deployid [numeric_id_of_deploy]` will run smoke tests against a specific
deployid. Validating that that deploy didn't break basic functionality.

### Runnning on Mainnet fork

This repository also supports running a local node via the Hardhat EVM fork implementation.
Expand Down

0 comments on commit 0de99d5

Please sign in to comment.