MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Test First Development - Part 1

Course Summary

This course introduces a test-first development style to build better software. We'll discuss the value of unit testing and demonstrate the red-green-refactor workflow in the design and implementation of business requirements. Using tools like NUnit and

  • +

    Course Syllabus

    ● Introduction to Test-First Development
        ◦ Introduction
        ◦ Developer Testing
        ◦ Demo: Ye Old Way Developer's Tested
        ◦ Benefits
        ◦ Unit Testing Defined
        ◦ Testing New and Existing Code
        ◦ Unit Testing Frameworks
        ◦ How Unit Testing Frameworks Work
        ◦ Demo: Running Unit Tests
        ◦ Some .NET Unit Test Runners
        ◦ Test First Development
        ◦ Test-Driven Development
        ◦ Demo: Test-First Development
        ◦ More Test First Practices
        ◦ Final Thoughts and Summary
    ● Writing Unit Tests Part I
        ◦ Introduction
        ◦ Setting Up A Test Project
        ◦ Creating Tests
        ◦ Running Tests
        ◦ The Problem To Solve
        ◦ The First Test
        ◦ Red Green Refactor
        ◦ Making The First Test Pass
        ◦ One Logical Assert
        ◦ The Second Test
        ◦ Refactoring a Third Test
        ◦ Test Qualities
        ◦ Summary
    ● Writing Unit Tests II
        ◦ Introduction
        ◦ Test Project Organization
        ◦ Unit vs. Integration Test
        ◦ Demo: Organization and Test Setup
        ◦ xUnit Organizational Model
        ◦ Unit Test Lifecycle
        ◦ Demo: TestFixture and Categories
        ◦ Demo: Testing the Sad Path
        ◦ Demo: Asserting Yourself
        ◦ Demo: Final Project Organization
        ◦ Summary
        ◦ Introduction to Refactoring
        ◦ Introduction
        ◦ Are We Done Yet?
        ◦ Why Refactor?
        ◦ When to Refactor?
        ◦ Simple Refactorings
        ◦ Refactoring to Abstractions
        ◦ Refactoring to Design Patterns
        ◦ Implementing a Strategy
        ◦ Code Smells
        ◦ A Simple Summary
    ● Driving Design with Unit Tests
        ◦ Introduction
        ◦ Fearless Design Change
        ◦ Working with Singletons
        ◦ Demo: Testing with an Alternate Implementation
        ◦ Demo: The Problem HttpContext Brings
        ◦ Demo: Decoupling the HttpContext Dependency
        ◦ Other Design Benefits
        ◦ Summary
    ● Isolating Code
        ◦ Introduction
        ◦ Faking Out the SUT Code
        ◦ Test Doubles
        ◦ Dummies
        ◦ Stubs
        ◦ Fakes
        ◦ Spies
        ◦ Mocks
        ◦ Introducing the Application
        ◦ Code Organization
        ◦ Demo: Adding the Edit Owner View
        ◦ Demo: First Test Double
        ◦ Demo: The Need for a Stub
        ◦ Demo: Stub and Spy
        ◦ Demo: Using a Mock
        ◦ Summary


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Open Source , Development & Implementations and Quality Assurance & Testing Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top