Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cypress | 44,989 | 4,003 | 5,321 | 10 hours ago | 210 | July 20, 2023 | 1,394 | mit | JavaScript | |
Fast, easy and reliable testing for anything that runs in a browser. | ||||||||||
Javascript Testing Best Practices | 21,983 | a month ago | 61 | mit | JavaScript | |||||
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023) | ||||||||||
Golang Developer Roadmap | 16,230 | 7 months ago | 22 | |||||||
Roadmap to becoming a Go developer in 2020 | ||||||||||
Nightwatch | 11,444 | 228 | 17 hours ago | 327 | July 31, 2023 | 222 | mit | JavaScript | ||
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack | ||||||||||
Detox | 10,578 | 329 | 301 | 11 hours ago | 544 | August 02, 2023 | 217 | mit | JavaScript | |
Gray box end-to-end testing and automation framework for mobile apps | ||||||||||
Testcafe | 9,694 | 830 | 735 | 14 hours ago | 441 | July 27, 2023 | 62 | mit | JavaScript | |
A Node.js tool to automate end-to-end web testing. | ||||||||||
Protractor | 8,790 | 137,072 | 13,971 | 5 months ago | 103 | May 13, 2020 | 682 | mit | JavaScript | |
E2E test framework for Angular apps | ||||||||||
Origin | 8,375 | 152 | 18 | 11 hours ago | 76 | May 31, 2021 | 193 | apache-2.0 | Go | |
Conformance test suite for OpenShift | ||||||||||
Gitignore.io | 7,755 | a month ago | 8 | mit | Swift | |||||
Create useful .gitignore files for your project | ||||||||||
Cypress Realworld App | 4,830 | 2 days ago | 12 | mit | TypeScript | |||||
A payment application to demonstrate real-world usage of Cypress testing methods, patterns, and workflows. |
GuardianTest is an open-source, end-to-end testing framework for web3 developers building on EVM-compatible chains.
node -v
. You should see a version number in the return.anvil -V
. You should see a version number in the return. If you do not, follow one of the guides below.Mac, Linux, and Windows
Docker
CI
You can install GuardianTest using either npm or yarn:
npm
npm install --save-dev @guardianui/test
yarn
yarn add -D @guardianui/test
You will need to have the latest Playwright browser drivers installed.
npx playwright install
Playwright
At your repo's top-level directory create a file called playwright.config.ts
. You can find a default configuration in our GuardianTest Configuration Guide
If you already are using Playwright and already have a playwright.config.ts
:
[/.*gui\.(js|ts|mjs)/, /.*(spec|test)\.(js|ts|mjs)/]
fullyParallel
to false
workers
to 1
env
Create another file called .env
in your repo's top-level directory, or add the following to your existing .env
file if you already have one. Comment out whichever line you do not use with a #
at the start.
# Must fill in one of these API keys; only need one
GUARDIAN_UI_INFURA_API_KEY=
GUARDIAN_UI_ALCHEMY_API_KEY=
GUARDIAN_UI_CHAINSTACK_API_KEY=
package.json
To be able to run tests, add the following to your app's package.json
scripts section:
"test:gui": "npx playwright test --project=chromium --headed"
Follow our guide to write your first test
eth_sendTransaction
and eth_sendRawTransaction
RPC requests when instructed to via gui.validateContractInteraction
For full documentation and examples, visit the GuardianTest Docs.
Check out the following places for more GuardianUI-related content:
If you're interested in contributing, please read the contributing docs before submitting a pull request.