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

Advanced Unit Testing

Course Summary

This course teaches you various advanced techniques for making unit tests more robust and easier to maintain. It assumes that you have prior experience with unit testing. You'll learn how to make the Arrange and Assert parts of your tests easier to read a

  • +

    Course Syllabus

    ● DRY versus DAMP
        ◦ Introduction
        ◦ Safety Net
        ◦ DRY
        ◦ Demo Introduction: Blindly Refactoring
        ◦ Demo: Blindly Refactoring
        ◦ Demo Recap: Blindly Refactoring
        ◦ DAMP
        ◦ Why trust tests?
        ◦ Readable Tests
        ◦ See Tests Fail
        ◦ Summary
    ● Test Utility Code
        ◦ Introduction
        ◦ Brittle Tests
        ◦ Four-Phase Test
        ◦ Demo Introduction: Motivating Example
        ◦ Demo: Motivating Example
        ◦ Demo Recap: Motivating Example
        ◦ Fixture Setup Patterns
        ◦ Test Data Builder
        ◦ Object Mother
        ◦ Fluent Builder
        ◦ Demo Introduction: Test Data Builder
        ◦ Demo: Test Data Builder
        ◦ Demo Recap: Test Data Builder
        ◦ SUT Factory
        ◦ SUT Mother
        ◦ SUT Builder
        ◦ Demo Introduction: SUT Factory
        ◦ Demo: SUT Factory
        ◦ Demo Recap: SUT Factory
        ◦ Auto-Mocking Container
        ◦ Auto-Mocking Container code
        ◦ Demo Introduction: Auto-Mocking Container
        ◦ Demo: Auto-Mocking Container
        ◦ Demo Recap: Auto-Mocking container
        ◦ Fixture Object
        ◦ Fixture Object code
        ◦ Demo Introduction: Fixture Object
        ◦ Demo: Fixture Object
        ◦ Demo Recap: Fixture Object
        ◦ Fixture Object and Test Data Builder Combined
        ◦ Summary
    ● Structural Inspection
        ◦ Introduction
        ◦ Verification Patterns
        ◦ Testing Complex Systems
        ◦ Complex versus Complicated
        ◦ Traditional Introductions to TDD
        ◦ Structural Inspection
        ◦ Behavior Verification, Mostly
        ◦ API Design Philosphy
        ◦ Typical Reactions
        ◦ Unit Testing
        ◦ Proving that Discount Behaves Correctly
        ◦ Basket Behavior Verification
        ◦ Demo Introduction: Basket Data Flow
        ◦ Demo: Basket Data Flow
        ◦ Demo Recap: Basket Data Flow
        ◦ Combining Knowledge
        ◦ Demo Introduction: BasketTotalVistor Behavior
        ◦ Demo: BasketTotalVisitor Behavior
        ◦ Demo Recap: BasketTotalVisitor Behavior
        ◦ Verifying a Facade
        ◦ Demo Introduction: BasketPipeline Integration
        ◦ Demo: BasketPipeline Integration
        ◦ Demo Recap: BasketPipeline Integration
        ◦ Too Enterprisey
        ◦ Summary
    ● Identity
        ◦ Introduction
        ◦ DAMP Result Verification
        ◦ Identity Matters
        ◦ Object Types
        ◦ Value Objects
        ◦ Unit Testing Value Object Equality
        ◦ IEquatableT
        ◦ Unit testing IEquatableT;
        ◦ Structural Inspection without properties
        ◦ Demo Introduction: Unit Testing Value Object Equality
        ◦ Demo: Unit Testing Value Object Equality
        ◦ Demo Recap: Unit Testing Value Object Equality
        ◦ Unit testing Entity equality
        ◦ Unit testing Service equality
        ◦ Demo Introduction: Services with Value Object Identity
        ◦ Demo: Services with Value Object Identity
        ◦ Demo Recap: Services with Value Object Identity
        ◦ Summary
    ● Test-Specific Identity
        ◦ Introduction
        ◦ Equality Pollution

Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under 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