MockServer
mockserver-testing
MockServer | mockserver-testing | |
---|---|---|
6 | 1 | |
4,462 | 1 | |
0.6% | - | |
0.0 | 8.0 | |
14 days ago | 5 days ago | |
Java | Kotlin | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MockServer
- "Where is James?" โ A reminder to choose your open-source libraries wisely
- "Where Is James?"
-
Please recommend a good API Mocking tool
The open-source examples are mockoon, mock-server.com, etc.
-
USING CI/CD to test multiple layered applications
using something to mock out responses like: https://github.com/mock-server/mockserver
-
Testing with MockServer
I've just found out MockServer and it looks awesome ๐คฉ so I wanted to check it out repeating the steps of my previous demo WireMock Testing which (as you can expect) uses WireMock, another fantastic tool to mock APIs.
-
How to unit test successful Oauth requests of 3rd party API's?
I tend to use MockServer. With MockServer you can define inputs, so you can say that the request should look like this with that URL, etc etc. That way you can verify that the request looks okay.
mockserver-testing
-
Testing with MockServer
As it is not MockServer related because we can test first the implementation just using MockK JUnit5 extension we can skip the details and you can review the source code of AppUseCaseShould and AppUseCase.
What are some alternatives?
WireMock - A tool for mocking HTTP services
kotlin-sample-app - ๐ Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
Mockito - Most popular Mocking framework for unit tests written in Java
wiremock-testing - ๐คน WireMock Testing
RabbitMQ-mock - Mock for RabbitMQ Java amqp-client
kotlintest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing [Moved to: https://github.com/kotest/kotest]
Testcontainers - Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
REST Assured - Java DSL for easy testing of REST services
mockk - mocking library for Kotlin
Karate - Test Automation Made Simple
Hoverfly Java - Java binding for Hoverfly