Save for later

Unit Testing a Spring Application

Heads up! This course may be archived and/or unavailable.

Java Web Development,

Though extensive knowledge about how to code a fancy Spring MVC application can impress a lot of folks, you'll need to add unit testing to your app to ensure proper functionality and stability. During this workshop we'll apply the unit testing knowledge you already have to a provided Spring application, testing our controllers, services, and DAOs. In addition, we'll make use of mock objects to "fake" the functionality of application components that aren't being directly tested.

Segments in this Workshop
  • Introduction
  • Weather App in Need of Tests
  • Controller Testing
  • Setting Up Mockito
  • Mocking with Mockito
  • Testing Services
  • Setting Up a Test Context
  • Testing With Our Test Context
  • Setting Up DBUnit for DAO Tests
  • Writing Our DAO Tests
  • Conclusion
Get Details and Enroll Now

OpenCourser is an affiliate partner of Treehouse and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating Not enough ratings
Length 93-minute workshop
Starts On Demand (Start anytime)
Cost $25/month (Access to entire library- free trial available)
From Treehouse
Instructor Chris Ramacciotti
Download Videos Only via web browser
Language English
Subjects Programming
Tags Java

Get a Reminder

Send to:

Similar Courses

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Specialist - Testing $47k

Accessibility Testing $58k

Selenium Testing $61k

Product testing $66k

Testing Technician 1 $69k

Testing - QA $83k

functional testing $87k

Manufacturing TestIng $103k

Testing Lead $107k

Interface Testing $110k

Testing Technician 4 $114k

Testing Development $131k

Write a review

Your opinion matters. Tell us what you think.

Rating Not enough ratings
Length 93-minute workshop
Starts On Demand (Start anytime)
Cost $25/month (Access to entire library- free trial available)
From Treehouse
Instructor Chris Ramacciotti
Download Videos Only via web browser
Language English
Subjects Programming
Tags Java

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now