This is a sample application showcasing the capabilities of WireMock in integration testing with Spring Boot.
- Java 17
- Spring Boot
- WireMock
- JUnit
- Gradle
To build the project, use the following command:
./gradlew build
This will compile and package the application, generating the necessary artifacts for deployment.
The project utilizes Java 17 and Spring Boot framework to create an application that demonstrates how WireMock can be used for integration testing. WireMock is a library for HTTP-based APIs that allows you to simulate and stub HTTP requests and responses, making it a powerful tool for testing API integrations in a controlled environment.
The application is built using Gradle as the build tool and JUnit for writing and executing tests. The build.gradle file contains the necessary dependencies and configurations for the project.
To get started with the application, follow these steps:
- Clone the repository to your local machine.
- Open the project in your preferred IDE.
- Build the project using the provided Gradle command: gradlew build.
- Run the tests using JUnit.
- Explore the application code and the tests to understand how WireMock is used for integration testing.