wiremock / wiremock/wiremock.org

Stubbing does not specify Classes containing static methods

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug documentation
Dominant language
HTML
Stars
12
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Reading the subbing section of the docs I miss a reference to the Class that contains methods like stubFor these are used in the examples as static imports, but as the import statements are not included it is not clear where to import these methods from.
I assume that most methods are from the same small set of classes, so it would be possible to name them in the top of the page in order to keep the examples small and concise.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the documentation's stubbing section and review the examples that use methods such as stubFor without import statements. Identify the relevant containing classes and add references near the top of the page so readers can determine where the static methods come from while the examples remain concise.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.