Implementing Agile Test Driven Development for .Net Developers
Course Objectives
Test-driven development (TDD) is an evolutionary approach to development where you must first write a test that fails before you write new functional code. This process was developed by Kent Beck and Ward Cunningham. It is primarily an agile approach to software development and is one of the core principles of Extreme Programming.
This is a programming class with many code-based labs that enable students to experience TDD first hand. Working within in a dynamic, learning environment, guided by our expert Agile TDD team, attendees will:
- Be introduced to the concept of development agility and the Agile Manifesto
- Review each of the major agile development methods underscoring their strengths and weaknesses
- Understand how to manage an agile environment even within a structured organizational approach
- Learn how to introduce agility into a development organization
- Examine what unit testing is and how the NUnit frameworks facilitate unit testing
- Review and work with the NUnit unit testing tools
- Understand the concepts of and motivations for Test-Driven Development
- Relate unit testing, test driven development, and test coverage to agile processes
- Understand the importance of refactoring in supporting agile and test driven processes
- Work with both refactoring techniques and tools
- Work with Mock objects to understand what problems they solve and how they accomplish that
- Understand what Continuous Integration is and what the components of CI are
- Examine the motivations for CI
- Review best practices for everything from CI to testing within the context of agile development
Throughout the course, students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive lab exercises and review.
Course Prerequisites
This is an intermediary course, designed for software developers. A working knowledge of .Net and C# is required. Knowledge of current development processes, such as structured top-down development and the waterfall method is beneficial.
Course Agenda
Session: Agile Development
Lesson: Agile Rationale and Concepts
- Reducing Risk Through Agility
- The Discipline of Timeboxing
- Incremental Delivery and Evaluation
- Agile Method: Scrum
- Agile Method: XP
- Pair Programming
Lesson: The Agile Approach
- Agile Software Development Manifesto
- The Agile Principles
- Identifying Features
- Managing Features
- Communication Dynamics
Lesson: Agile Iterative Development
- Iterative Approaches
- Phased Iterative Development
- Iterating
- Feasibility & Planning
- Development
- Adaptation & Deployment
Lesson: Prioritizing and Planning
- Features and Backlogs
- FDD Process
- Prioritizing Features
- Release Planning
- Assigning Features to Iterations
Lesson: Building
- Typical Continuous Integration Process
- CI Server
- Automate Source Code Management
- Automate Build Process
- Automate Testing
- Automate Deployment
Session Test-Driven Development
Lesson Unit Testing
- XUnit: JUnit, NUnit, etc.
- NUnit Framework
- NUnit Assert Methods
- Running NUnit at the Command Line
Lesson The ROI of TDD
- The Process of TDD
- Automation and Coverage
- Working With Coverage Analysis
Session Improving Code Quality Through Refactoring
Lesson Refactoring
- Refactoring Overview
- Refactoring and Testing
- Suggested Refactoring
- The Impact of Refactoring
Lesson Advanced Refactoring
- Code That Feels Wrong
- Refactoring to Design Patterns
- Abstract Factory Design Patterns
- Adapter Design Patterns
- Strategy Design Patterns
Session Advanced Topics
Lesson Advanced TDD Topics
- Decoupling with Mock Objects
- Mock object frameworks
- State-based vs. Interaction-based Testing
- Interaction-based Testing
- NUnit and NAnt
Lesson Continuous Integration
- Typical Continuous Integration Process
- CI Server
- Automate Source Code Management
- Automate Build Process
- Automate Testing
- Automate Deployment
Session: Agile Testing Best Practices
Lesson: Transitioning to Agility
- Agility: Some Process, Some Mindset
- Characteristics that Enable Agility
- Characteristics that Inhibit Agility
- Risks Associated with Migrating
- Smoothing the Transition
Lesson: The Bottom Line
- Agile Migration Patterns
- Extending the Migration
- Coding Practices
- Source Control
- Pair Programming and Code Reviews
- Continuous Integration
- Legacy Code
Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com
Request a Date