This repository has been archived by the owner on May 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): add
README
for debugging tests (#498)
Co-authored-by: David <david@taiko.xyz> Co-authored-by: Roger <50648015+RogerLamTd@users.noreply.github.com>
- Loading branch information
1 parent
c63e681
commit b4a102d
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# How to debug test cases? | ||
* start docker compose | ||
``` | ||
./docker/start.sh | ||
``` | ||
|
||
* deploy L1 contracts | ||
``` | ||
# replace $taiko-mono with the taiko-mono repo path. | ||
TAIKO_MONO_DIR=$taiko-mono ./integration_test/deploy_l1_contract.sh | ||
``` | ||
|
||
* show environment variables | ||
``` | ||
# replace $taiko-mono with the taiko-mono repo path. | ||
TAIKO_MONO_DIR=$taiko-mono ./integration_test/test_env.sh | ||
``` | ||
|
||
* copy the result of previous step and paste it into `Debug configurations` | ||
> after debugging, don't forget stop docker compose! | ||
``` | ||
./docker/stop.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters