InterviewSolution
| 1. |
What are the tools and libraries available for testing microservices? |
|
Answer» Important Tools and LIBRARIES for testing Spring-based Microservices are -
the standard test runners
the next generation test runner
declarative MATCHERS and assertions
for writing REST Api DRIVEN end to end tests
for mocking dependencies
for stubbing thirdparty services
Create API simulation for end-to-end tests.
for writing Spring Integration Tests - includes MockMVC, TestRestTemplate, Webclient like features.
An assertion library for JSON.
The Pact family of FRAMEWORKS provide support for Consumer Driven Contracts testing.
Selenium automates browsers. Its used for end-to-end automated ui testing.
Gradle helps build, automate and deliver software, fastr.
IDE for Java Development
This starter will import two spring boot test modules spring-boot-test & spring-boot-test- autoconfigure as well as Junit, AssertJ, Hamcrest, Mockito, JSONassert, Spring Test, Spring Boot Test and a number of other useful libraries. |
|