Companies Home Search Profile

Creating Maintainable Contexts for Automated Testing

Focused View

Mel Grubb

1:14:45

51 View
  • 01 - Course Overview.mp4
    01:33
  • 02 - Introduction.mp4
    00:12
  • 03 - Software Is Complicated.mp4
    00:34
  • 04 - A Tour of the Solution.mp4
    02:36
  • 05 - Tools and Frameworks.mp4
    01:12
  • 06 - A Tour of the Tests.mp4
    01:36
  • 07 - Going International.mp4
    00:57
  • 08 - Demo - Going International.mp4
    06:13
  • 09 - Summary.mp4
    00:43
  • 10 - Introduction.mp4
    00:27
  • 11 - Cleaning Up the Existing Test Suite.mp4
    03:28
  • 12 - Generation of Simple Values.mp4
    04:10
  • 13 - Object Mothers.mp4
    01:05
  • 14 - Demo - Object Mothers.mp4
    02:46
  • 15 - Generation of Object Hierarchies.mp4
    00:17
  • 16 - Demo - Generation of Object Hierarchies.mp4
    04:06
  • 17 - Parent Child Relationships.mp4
    00:45
  • 18 - Demo - Parent Child Relationships.mp4
    00:58
  • 19 - Summary.mp4
    00:48
  • 20 - Introduction.mp4
    00:26
  • 21 - Object Builders and Fluent Interfaces.mp4
    01:58
  • 22 - Demo - From Object Mother to Object Builder.mp4
    05:08
  • 23 - Comparison - Object Mothers and Object Builders.mp4
    00:28
  • 24 - Demo - StateMother to StateBuilder.mp4
    04:20
  • 25 - A Builder Is a Blueprint.mp4
    00:34
  • 26 - Demo - Make a Plan.mp4
    03:38
  • 27 - Lazy Is Good.mp4
    00:49
  • 28 - Demo - Lazy Builders.mp4
    02:47
  • 29 - Summary.mp4
    00:36
  • 30 - Introduction.mp4
    00:37
  • 31 - Demo - Extracting Base Class Functionality.mp4
    02:43
  • 32 - Demo - Extracting a Partial Class.mp4
    02:14
  • 34 - Demo - Generating the Build Method.mp4
    05:08
  • 35 - Demo - Generating the Default Method.mp4
    01:48
  • 36 - Demo - Generating the With Methods.mp4
    02:20
  • 37 - Demo - Creating New Builders.mp4
    02:08
  • 38 - Summary.mp4
    02:37
  • Description


    Learn how to create effective and maintainable test contexts that help guide other team members rather than acting as a barrier. Keep your contexts focused on the relevant details through the use of the Object Mother and Object Builder patterns.

    What You'll Learn?


      In this course, you'll see a demonstration of a typical hand-built test context, and the factors that make it brittle and hard to maintain. By using software principles we're all familiar with, and some patterns we may not have seen before, we can create contexts that remain focused on the information most important to understanding what the tests are trying to tell your team. We'll start with general principles, and then move into the Object Mother pattern, a common approach to extracting test context creation tasks. From there, we'll move into the Object Builder pattern, a more modern and expressive evolution of the Object Mother. Finally, you'll see how to use Roslyn-based C# scripts to generate the tedious parts of the Object Builder pattern, so that you can get back to the interesting stuff. When you’re finished with this course, you will have an appreciation for what makes for a good test context, and the skills to apply this knowledge to your current and future projects.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Mel Grubb has been a professional software developer since 1995, working with .Net since version 1.0. Before that, he was a hobbyist since receiving his first computer, a TI-99/4a in 1982, and heavily modifying it over the course of several years. He's a software developer in central Ohio, concentrating on C# and ASP.Net MVC solutions with a focus on simplicity, testability, and overall coding craftsmanship.
    Pluralsight, LLC is an American privately held online education company that offers a variety of video training courses for software developers, IT administrators, and creative professionals through its website. Founded in 2004 by Aaron Skonnard, Keith Brown, Fritz Onion, and Bill Williams, the company has its headquarters in Farmington, Utah. As of July 2018, it uses more than 1,400 subject-matter experts as authors, and offers more than 7,000 courses in its catalog. Since first moving its courses online in 2007, the company has expanded, developing a full enterprise platform, and adding skills assessment modules.
    • language english
    • Training sessions 37
    • duration 1:14:45
    • level average
    • Release Date 2023/10/10