mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-12 23:48:15 -05:00
835 B
835 B
Tests
bridge & coordinator
Prerequisite
- rust
- go1.18
- docker
To run tests for bridge & coordinator, you would need to build some required docker images first.
make dev_docker # under repo root directory
Run the tests
go test -v -race -covermode=atomic scroll-tech/bridge/...
go test -tags="mock_verifier" -v -race -covermode=atomic scroll-tech/coordinator/...
You can also run some related tests (they are dependent to bridge & coordiantor) using
go test -v -race -covermode=atomic scroll-tech/database/...
go test -v -race -covermode=atomic scroll-tech/common/...
Contracts
You can find the unit tests in <REPO_DIR>/contracts/src/test/, and integration tests in <REPO_DIR>/contracts/integration-test/.