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

Integration Testing setup #92

Closed
wants to merge 95 commits into from
Closed

Integration Testing setup #92

wants to merge 95 commits into from

Conversation

batphonghan
Copy link
Contributor

How to test this locally:

  • brew install kurtosis-tech/tap/kurtosis-cli to install kurtosis
  • kurtosis engine start to start engine
  • cd testing && go test ./... -v

What's in this PR:

[X] Eth1/eth2 run in docker container manage by kurtosis_context in our Go test code

  • Eth1 by anvil container
  • Eth2 by kurtosis

[X] Smart contracts deploy to eth1 (anvil)

[X] Start node in separate goroutine to start node

[X] Config file + data at ~/.stader_testing folder

  • ~/.stader_testing separate testing data for each suite

[X] Init wallet
[X] Http-test server

  • http test server assert pre-sign message

[X] Verify pre-sign messages

  • Verify signature
  • Verify decrypt / encrypt RSA

@batphonghan batphonghan requested a review from bharath-123 July 5, 2023 02:44
@bharath-123 bharath-123 changed the title Testing setup Integration Testing setup Jul 5, 2023
@batphonghan batphonghan deleted the testing branch August 23, 2023 02:53
@batphonghan batphonghan restored the testing branch February 20, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant