Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into shorten-test-resour…
Browse files Browse the repository at this point in the history
…ce-paths
  • Loading branch information
bitwiseman committed Nov 17, 2023
2 parents ba65bfa + 9ff3264 commit a0abcf5
Show file tree
Hide file tree
Showing 104 changed files with 9,181 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ a Java VM option). For example:
The above command will create snapshot WireMock data files under the path `src/test/resources/org/kohsuhke/github/YourTestClassName/wiremock`.
Each method will get a separate directory that will hold the data files for that test method.

*Note:* if you are using personal github account don't forget to change `getTempRepository()` to `gitHub.getRepository("${your_account}/${test_method_name}")`
in order to match with snapshot file name for wiremock. To double-check run test without `-Dtest.github.org=false` flag after snapshot is saved.

Add all files including the generated data to your commit and submit a PR.

### Modifying existing tests
Expand Down
Loading

0 comments on commit a0abcf5

Please sign in to comment.