Skip to content

Commit

Permalink
move the mocking documentation to the main documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryber committed Dec 30, 2024
1 parent 2508dac commit 9c5b1e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unirest-modules-mocks/README.md → mkdocs/docs/mocks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Unirest Mocks

### About
A series of mocks for use with Unirest for unit testing. The mock clients will not make any real web requests.
A series of mocks for use with Unirest for unit testing. Mocked clients will not make any real web requests. This allows you to test the input into unirest and to mock responses from expected requests.

### Usage
```java
Expand All @@ -26,4 +26,4 @@ class MyTest {


### Future Enhancements
* Body expectations are limited and do not include forms or files.
* Body expectations are limited and do not include forms or files.
1 change: 1 addition & 0 deletions mkdocs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ nav:
- Making Requests: requests.md
- Handling Responses: responses.md
- Caching Responses: caching.md
- Mocking: mocks.md


markdown_extensions:
Expand Down

0 comments on commit 9c5b1e7

Please sign in to comment.