From the course: Spring: Test-Driven Development with JUnit

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Test planning for @Service components

Test planning for @Service components

From the course: Spring: Test-Driven Development with JUnit

Start my 1-month free trial

Test planning for @Service components

- [Instructor] In this video, we're going to talk about how to plan for testing service components. We want to start testing the business logic layer of a Spring application. Recall that we are working on a fictitious eCommerce web application for a flower shop business. We're going to be adding the first automated test written for this application. If your team is deciding to practice test-driven development, then chances are pretty high that they're also practicing other habits that stem from an Agile methodology, such as writing user stories to begin planning feature development. So before we get into writing tests, let's review some user stories. One, there's an add contacts feature that was added to the system in the prior release. This just allowed a user to create contacts to their account, and start an address book feature. Well, what we're working on is for release two of the system, where we're going to take the add contacts feature a step further, and we're going to add…

Contents