Skip to content

Commit

Permalink
Refactor error handling and add detailed doc for BaseWiremock
Browse files Browse the repository at this point in the history
Refactor `verifyNoUnmatchedRequests` to provide detailed error messages on unmatched requests. Add comprehensive documentation for `BaseWiremock` usage, best practices, and common testing patterns. Also, include a new test case to check unmatched requests.
  • Loading branch information
Konstantin Pavlov authored and Konstantin Pavlov committed Nov 10, 2024
1 parent 0ef1918 commit dd26462
Show file tree
Hide file tree
Showing 5 changed files with 637 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Finchly is a modern Kotlin library that simplifies integration testing by provid
## Features

- 🚀 Simple and intuitive API
- 💻 Kotlin-first design
- 👍 Kotlin-first design
- 🎪[TestEnvironment](docs/TestEnvironment.md) provides an easy way to manage environment variables between system and `.env` files with fallback values for test environment configurations.
- 🎭[BaseWiremock](docs/Wiremock.md) provides a Kotlin wrapper for WireMock server with built-in configuration, lifecycle management, and verification for simplified HTTP service mocking in tests.

## How to build

Expand Down
2 changes: 1 addition & 1 deletion docs/TestEnvironment.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TestEnvironment
# 🎪Test Environment

## Overview

Expand Down
Loading

0 comments on commit dd26462

Please sign in to comment.