Test Driven: Practical TDD and Acceptance TDD for Java DevelopersIn test driven development, you first write an executable test ofwhat your application code must do. Only then do you write thecode itself and, with the test spurring you on, you improve yourdesign. In acceptance test driven development (ATDD), you usethe same technique to implement product features, benefiting fromiterative development, rapid feedback cycles, and better-definedrequirements. TDD and its supporting tools and techniques leadto better software faster. Test Driven brings under one cover practical TDD techniquesdistilled from several years of community experience. With examplesin Java and the Java EE environment, it explores both the techniquesand the mindset of TDD and ATDD. It uses carefully chosen examplesto illustrate TDD tools and design patterns, not in the abstractbut concretely in the context of the technologies you face at work.It is accessible to TDD beginners, and it offers effective and less wellknown techniques to older TDD hands. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside
|
Contents
Beginning | |
Refactoring in small steps | |
Concepts and patterns for | |
Applying TDD to specific technologies | |
Building products with Acceptance | |
Brief EasyMock tutorial | |
Resources | |
List of Figures | |
List of Tables | |
Other editions - View all
Test Driven: Practical TDD and Acceptance TDD for Java Developers Lasse Koskela No preview available - 2008 |
Common terms and phrases
acceptance TDD acceptance test-driven development acceptance tests application Assertion AuthenticationService behavior build chapter code base code coverage component configuration create data-access code database dependency injection EasyMock evaluate example expected fake Figure fixture class fixture tables framework functionality going Hibernate implementation integration tests interface Java EE JavaServer Pages JDBC JdbcTemplate JUnit legacy code Let’s logic login LoginServlet look mock object parsing pattern problem production code programming public class query refactoring regular expression rendering running segments server Servlet setup shown in listing specific Spring Framework static strategy String stub talk TDD cycle technique template engine TemplateParse test class test code test document test double test pass Test public void test-driven development test-driving test-first testability there’s things thread throws Exception unit tests user stories variable verify we’ll we’re what’s Wicket writing tests