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.

Make a feature test suite

Make a feature test suite

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

Start my 1-month free trial

Make a feature test suite

- [Instructor] Let's now turn our attention to creating test suites. We are able to combine several test cases to run as a grouping. This is also known as a test suite. Test suites are very useful to achieve a much broader testing objective. Some examples of test suites are, smoke tests, these are the kind of tests that you might want to have in place just to give you a good indication of basic system health. There's also a notion of iteration test suites. If your project is planned in iterations you may want to group the test cases for any of the work that's happening within an iteration. There's also something called a feature test, this is what we're going to do in our next exercise. We're going to combine several of the test classes that we've already developed, so that we can have a test suite for our add contact feature. Let's get started so you can see what that looks like. So we have an exercise project here, and I'm going to go into my source test Java tree and right here in…

Contents