JUnit in Action

-
JUnit in Action
PDF
  • eBook:
    JUnit in Action
  • Author:
    Vincent Massol, Ted Husted
  • Edition:
    -
  • Categories:
  • Data:
    October 1, 2003
  • ISBN:
    1930110995
  • ISBN-13:
    9781930110991
  • Language:
    English
  • Pages:
    384 pages
  • Format:
    PDF

-
Book Description
A guide to unit testing Java applications (including J2EE applications) using the JUnit framework and its extensions, this book provides techniques for solving real-world problems such as unit testing legacy applications, writing real tests for real objects, automating tests, testing in isolation, and unit testing J2EE and database applications. Using a sample-driven approach, various unit testing strategies are covered, such as how to unit test EJBs, database applications, JSPs, and Taglibs. Also addressed are testing strategies using freely available open source frameworks and tools, and how to unit test in isolation with Mock Objects. Testing J2EE applications by running tests from inside the container for performing integration unit tests is discussed, as is how to automate unit testing in automated builds (such as Ant and Maven) for performing continuous integration.
-

Content

PART 1 JUNIT DISTILLED
1. JUnit jumpstart
2. Exploring JUnit
3. Sampling JUnit
4. Examining software tests
5. Automating JUnit

PART 2 TESTING STRATEGIES
6. Coarse-grained testing with stubs
7. Testing in isolation with mock objects
8. In-container testing with Cactus
9. Unit-testing servlets and filters
10. Unit-testing JSPs and taglibs
11. Unit-testing database applications
12. Unit-testing EJBs

Free sample

-
Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019
-

-