Implementing Agile Test Driven Development for .Net Developers

Course Details
Code: TT3535-N
Tuition (USD): $1,995.00 • Classroom (3 days)

Implementing Agile Test Driven Developmentfor .Net Developers is a three day, in-depth Agile-testing training course that provides students with a solid introduction to Test Driven Development and “test first” design within the context of Agile processes and practices.

  • 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.

Skills Gained

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 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

Who Can Benefit

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 Details

Adaptable Course

If your team requires more advanced materials or custom topics, this course may be easily adjusted to accommodate. We offer many additional Agile, TDD and software engineering courses which may be blended with this course for a track that best suits your development objectives.

Session: Agile Development

Agile Rationale and Concepts

  • Reducing Risk Through Agility
  • The Discipline of Timeboxing
  • Incremental Delivery and Evaluation
  • Agile Method: Scrum
  • Agile Method: XP
  • Pair Programming

The Agile Approach

  • Agile Software Development Manifesto
  • The Agile Principles
  • Identifying Features
  • Managing Features
  • Communication Dynamics

Agile Iterative Development

  • Iterative Approaches
  • Phased Iterative Development
  • Iterating
  • Feasibility & Planning
  • Development
  • Adaptation & Deployment

Prioritizing and Planning

  • Features and Backlogs
  • FDD Process
  • Prioritizing Features
  • Release Planning
  • Assigning Features to Iterations

Building

  • Typical Continuous Integration Process
  • CI Server
  • Automate Source Code Management
  • Automate Build Process
  • Automate Testing
  • Automate Deployment

Session Test-Driven Development

Unit Testing

  • XUnit: JUnit, NUnit, etc.
  • NUnit Framework
  • NUnit Assert Methods
  • Running NUnit at the Command Line

The ROI of TDD

  • The Process of TDD
  • Automation and Coverage
  • Working With Coverage Analysis

Session Improving Code Quality Through Refactoring

Refactoring

  • Refactoring Overview
  • Refactoring and Testing
  • Suggested Refactoring
  • The Impact of Refactoring

Advanced Refactoring

  • Code That Feels Wrong
  • Refactoring to Design Patterns
  • Abstract Factory Design Patterns
  • Adapter Design Patterns
  • Strategy Design Patterns

Session Advanced Topics

Advanced TDD Topics

  • Decoupling with Mock Objects
  • Mock object frameworks
  • State-based vs. Interaction-based Testing
  • Interaction-based Testing
  • NUnit and NAnt

Continuous Integration

  • Typical Continuous Integration Process
  • CI Server
  • Automate Source Code Management
  • Automate Build Process
  • Automate Testing
  • Automate Deployment

Session: Agile Testing Best Practices

Transitioning to Agility

  • Agility: Some Process, Some Mindset
  • Characteristics that Enable Agility
  • Characteristics that Inhibit Agility
  • Risks Associated with Migrating
  • Smoothing the Transition

The Bottom Line

  • Agile Migration Patterns
  • Extending the Migration
  • Coding Practices
  • Source Control
  • Pair Programming and Code Reviews
  • Continuous Integration
  • Legacy Code