JUnit in Action
Author | : Vincent Massol |
Publisher | : Manning Publications |
Total Pages | : 388 |
Release | : 2004 |
ISBN-10 | : 1930110995 |
ISBN-13 | : 9781930110991 |
Rating | : 4/5 (991 Downloads) |
Download or read book JUnit in Action written by Vincent Massol and published by Manning Publications. This book was released on 2004 with total page 388 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.