Skip to Main Content
Spring: A Developer's Notebook
book

Spring: A Developer's Notebook

by Bruce Tate, Justin Gehtland
April 2005
Intermediate to advanced content levelIntermediate to advanced
216 pages
4h 44m
English
O'Reilly Media, Inc.
Content preview from Spring: A Developer's Notebook

Running a Test Case

The test case is easy to run. You've already got it. It's the one that you ran with the façade.

How do I do that?

Since the test case exists, you can run the existing façade test. You'll just have to make sure that you set up your test data correctly, and you can use the application context unchanged. That's the power, and testability, of Spring.

What just happened?

You used the existing test case. That's nice, because you only need to manage the incremental details for the database. In the next chapter, you'll start to dig into services that you can add to your application with Spring's AOP.

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.
Start your free trial

You might also like

JavaBeans Unleashed

JavaBeans Unleashed

Dr. Donald Doherty, Rick Leinecker
Beginning Spring

Beginning Spring

Mert Caliskan, Kenan Sevindik, Rod Johnson, Jürgen Höller
Hibernate Search in Action

Hibernate Search in Action

Emmanuel Bernard, John Griffin

Publisher Resources

ISBN: 0596009100Supplemental ContentErrata Page