Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michalzalecki/cypress-web3-testing
Integration tests and mocking web3 apps
https://github.com/michalzalecki/cypress-web3-testing
Last synced: 2 months ago
JSON representation
Integration tests and mocking web3 apps
- Host: GitHub
- URL: https://github.com/michalzalecki/cypress-web3-testing
- Owner: MichalZalecki
- Created: 2018-11-01T11:32:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T11:35:25.000Z (about 6 years ago)
- Last Synced: 2024-10-25T12:38:35.463Z (3 months ago)
- Language: JavaScript
- Homepage: https://michalzalecki.com/integration-tests-and-mocking-web3-apps/
- Size: 55.7 KB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cypress-web3-testing
This repository shows how simple DApp can be tested with Cypress. [Learn more](https://michalzalecki.com/integration-tests-and-mocking-web3-apps/).
## Setup
In 1st tab
npm i -g truffle ganache-cli parcel-bundler
ganache-cli -m "stamp polar cup smart ill agree human episode reform trigger text forget" -i 5777In 2nd tab
cd contracts && truffle migrate --network ganache
cd dapp && npm i && parcel serve index.htmlRun tests
cd dapp && npx cypress open