Regression testing
Regression tests will ensure that the changes in the software are not breaking the system. In a microservices context, the regression tests could be at the service level (Rest API or message endpoints), and written using JUnit or a similar framework, as explained earlier. The service virtualizations will be used when dependent services are not available. Karma and Jasmine can be used for web UI testing. In cases where the microservices are used behind web applications, Selenium WebDriver or a similar tool will be used to prepare regression test packs and tests will be conducted at the UI level rather than focusing on the service endpoints. Alternately, BDD tools, such as Cucumber with JUnit or Cucumber with Selenium WebDriver, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access