Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix docs on how to run specific Complement tests after recent `comple…
Browse files Browse the repository at this point in the history
…ment.sh` change (#12664)
  • Loading branch information
MadLittleMods authored May 9, 2022
1 parent 26c1ad7 commit 18d6c18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/12664.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix docs on how to run specific Complement tests using the `complement.sh` test runner.
4 changes: 2 additions & 2 deletions docs/development/contributing_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,13 @@ COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh
To run a specific test file, you can pass the test name at the end of the command. The name passed comes from the naming structure in your Complement tests. If you're unsure of the name, you can do a full run and copy it from the test output:

```sh
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh TestBackfillingHistory
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -run TestImportHistoricalMessages
```

To run a specific test, you can specify the whole name structure:

```sh
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh TestBackfillingHistory/parallel/Backfilled_historical_events_resolve_with_proper_state_in_correct_order
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -run TestImportHistoricalMessages/parallel/Historical_events_resolve_in_the_correct_order
```


Expand Down

0 comments on commit 18d6c18

Please sign in to comment.