From 6ea3a90f533259291fd610ee9f7c0212f5e2fad1 Mon Sep 17 00:00:00 2001 From: Matija Salopek Date: Tue, 28 Feb 2023 15:34:11 +0100 Subject: [PATCH] update testing docs --- docs/testing.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/testing.md b/docs/testing.md index 558566b21e..d4a90197f3 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -68,6 +68,21 @@ go test -fuzz= go run ./tests/integration/... --local-sdk-path "/Users/bob/Documents/cosmos-sdk/" --verbose ``` +### Tesing with Gaia as the provider + +Integration tests can be run with Gaia as the provider. +By default, the latest tagged release of Gaia is used - this includes release candidates and stabile releases. + +```bash +# use gaia as the provider +go run ./tests/integration/... --use-gaia + +# use gaia as the provider - use specific tagged release +go run ./tests/integration/... --use-gaia --gaia-tag v9.0.0 +``` + +NOTE: versions < v9.0.0 are not compatible with ICS. + ## Linters and Static Analysis Several analyzers are used on the code including [CodeQL](https://codeql.github.com/), [SonarCloud](https://sonarcloud.io/), [golangci-lint](https://golangci-lint.run/) and [gosec](https://github.com/securego/gosec). Some of these are run on github when committing to PRs ect, but some tools are also applicable locally, and are built into golang.