Skip to content

Commit

Permalink
Add note for adding a build tag in new e2e files. (#4937)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim authored Oct 24, 2023
1 parent ed79f49 commit 3dd468a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ All tests should go under the [e2e](https://github.com/cosmos/ibc-go/tree/main/e
to an existing test suite ***in the same file***, or create a new test suite in a new file and add test functions there.
New test files should follow the convention of `module_name_test.go`.

After creating a new test file, be sure to add a build constraint that ensures this file will **not** be included in the package to be built when
running tests locally via `make test`. For an example of this, see any of the existing test files.

New test suites should be composed of `testsuite.E2ETestSuite`. This type has lots of useful helper functionality that will
be quite common in most tests.

Expand Down

0 comments on commit 3dd468a

Please sign in to comment.