Let’s share what is the best answer to this interview question.
What is the general intent behind PACT when it comes to a micro-service type of architecture?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Leone Costa
When you are working with microservices, testing is inevitable and complex because there are many microservices trying to solve a part of the holistic problem, all needing to work together. Because of this, each one needs to be tested on different levels; three different levels to be precise. They are as follows:
• Bottom level- here there are technology0 facing tests such as performance tests and unit tests. These tests are fully and easily automated.
• Middle level- on this level there are tests for exploratory testing such as usability tests and stress tests.
• Top level- on the highest level is the acceptance tests which are fewer in number as compared to the other two levels. The acceptance criteria and tests help the engineering teams to understand and verify software features as working and functional.
Leone Costa
PACT refers to an open source tool which allows for testing interactions between the server and client in an isolated environment (staging environment). Integration may increase in its levels of reliability.
• It can be used to test the consumer driven contracts.
• It may also be used to implement consumer Driven Contract within microservices.