Uncle Bob's Advanced Test Driven Development in NYC
Wednesday, February 20, 2013 at 9:00 AM - Friday, February 22, 2013 at 4:00 PM (EST)
This is a intense, hands-on and exercise driven Advanced Test Driven Development course is written and delivered by Uncle Bob Martin and focuses on the design of clean, robust, and maintainable unit and acceptance tests. You will learn the principles of test design, and the practices of keeping tests clean. More importantly, they will learn the principles of designing applications for testability. Exercises include the refactoring of bad tests, the writing of clean tests, and the design and refactoring of applications to make them testable.
This three-day hands-on Advanced Test Driven Development will explain the principles and practices of Test Driven Development as described in Agile Software Development, Principles, Patterns, and Practices by Robert C. Martin. You will also receive this book as part of the course materials.
Exercises are in Java, but are applicable to C#, C++, and other object oriented languages.
ABOUT THE EXPERT
Uncle Bob (Robert C. Martin) has been a software professional since 1970. In the last 40 years, he has worked in various capacities on literally hundreds of software projects. He has authored "landmark" books on Agile Programming, Extreme Programming, UML, Object-Oriented Programming, C++ Programming and Clean Code. He has published dozens of articles in various trade journals.
Today, he is one of the software industry's leading authorities on Agile software development and is a regular speaker at international conferences and trade shows. He is a former editor of the C++ Report and writes regular blogs at Cleancoder.posterous.com
LEARN HOW TO:
- The professional's attitude towards TDD
- Coping with a non-TDD organization
- The Principles of Clean Tests
- Conventions for well written tests
- Avoiding and repairing fragile tests
- Testing with GUIs, Databases, Web Containers, and external resources
- Stubbing, Mocking, and Test Doubles
- Metrics and Tools
- Acceptance Testing
Moderated Discussion of:
- Fears, concerns, confounds & blockages
- Professionalism, Clean Code, and TDD
- Push-back: What Managers really want.
- The Three Laws of TDD.
- Understanding the Costs and Benefits.
- Test Smells
- Multiple Logical Asserts
- Accidental Complexity
- Too Slow
- Scope Too Wide
- Cleaning Tests.
- Composed Asserts
- Composed Results
Testing Behavior vs. State
- Mocking and Stubbing
- Ontology of Test Doubles
- Initial Setup.
- Critiquing some good and bad tests.
- Cleaning Tests
- Review The Presenter Model for UI testability.
- Group Exercise
- TDD under the microscope.
- Making Tests Fast.
- Database Isolation
- Web Container Isolation
- Impact Analysis
- Isolating Tests
- Repeatable Tests
- Hosting, Mocking.
- Test Hierarchies.
- Self Validating Tests
- Testing Tools, the good and the bad.
- Timely Tests.
Test Conventions and Heuristics
- Naming Conventions
- Statistical testing.
- Principles of Test Encapsulation : Testing Private Methods.
- Testing Inheritance Hierarchies
- Test per Class
- Splitting Test Files
Writing Maintainable Tests.
- The Fragile Test "Problem"
- Interface Sensitivity
- Abstract APIs.
- Behavior Sensitivity
- Data Sensitivity
- Context Sensitivity
- Sensitive Comparison and Equality
- Test Sensitivity
- When are Tests Discarded.
- Acceptance Tests Smells
- Critiquing Acceptance Tests.
- Combining Cyclomatic Complexity and Coverage
- Brathwaite's Correlation
- Wall Metrics.
S.O.L.I.D. The Principles of TEST design.
- How the principles of OO are used to design good tests.
Static Analysis Tools
Behavior Driven Development (BDD)
- Testing Through The GUI
- Testing Around the GUI.
- Stubbing the GUI.
- Stubbing the applications.
The Levels of Testing
- The Dilemma of Manual Testing.
- Unit Tests
- Component Tests.
- Integration Tests.
- System Tests.
- Exploratory Tests.
Functional and Performance Testing.
- Refactoring applications to Separate GUI
- Testing the GUI separately
- Applying the Principles
- Applying the Levels
IS THIS COURSE FOR YOU?
For this Advanced Test Driven Development course, you need to be a developer with one or more years experience with TDD.
You are expected to have a knowledge of Java, TDD, JUnit.
BRING YOUR OWN LAPTOP
Important! You are requested to bring your own laptop for this course, so you learn how to develop within your own environment. If you are unable to bring a laptop for the course, please contact the sales team on +1 347 708 1529 or email sales. A full installation guide for the course software will be provided with your joining instructions.
COURSE LABS & EXERCISES
Exercises in this Advanced Test Driven Development course include the refactoring of bad tests, the writing of clean tests, and the design and refactoring of applications to make them testable. Exercises are in Java, but are applicable to C#, C++, and other object oriented languages.