Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: cli test solution for zksync-cli #123

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

pcheremu
Copy link
Collaborator

@pcheremu pcheremu commented Feb 8, 2024

What πŸ’»

This is the long living development branch for zksync-cli automation

Why βœ‹

To prepare set of tests to verify zksync-cli in command line on different platforms

Evidence πŸ“·

image

Notes πŸ“

To run CLI tests for zksync-cli do the following:

  1. Make preparation steps 1 and 2 from Building for production, or just run npm i && npm run build

  2. Make sure you see your development build 0.0.0-development using npx zksync-cli --version. If not, install it in depends of your OS settings: npm i -g . or sudo npm i -g . If you have any other zksync-cli package installed globally npm ls -g, just remove it in advance npm remove zksync-cli -g.

  3. Make sure you have Docker on your system.

  4. Rename .env.example to .env in ./test/src/ dir and add your wallet private key to this file. F.e.: It may looks like E2E_TESTNET_PK=012345...abcdef

  5. Run npm run test

pcheremu and others added 2 commits February 8, 2024 12:07
Co-authored-by: Vasyl Ivanchuk <vasyl.ivanchuk@gmail.com>
@pcheremu pcheremu added the automation autotests \ QA tests label Feb 8, 2024
@pcheremu pcheremu self-assigned this Feb 8, 2024
@pcheremu pcheremu changed the title Implement tests test: cli test solution for zksync-cli Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation autotests \ QA tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant