Functional testing
The functional test cases will be generally targeted at the UIs that are consuming the microservices. These are business scenarios based on the user stories or features. These functional tests will be executed on every build to ensure that the microservice is performing as expected. BDD will be generally used in developing functional test cases. Typically, in BDD, the business analysts write test cases in plain English. The developers then add scripts to execute those scenarios. Automated web testing tools, such as Selenium WebDriver, will be useful in such scenarios together with BDD tools, such as Cucumber, JBehave, Spec Flow, and more. JUnit test cases will be used in the case of headless microservices. There are pipelines ...
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