Computer Programming
Using Sprout and Wrap Techniques
Sprout techniques involve creating new methods or classes to encapsulate additional functionality or refactored behavior. These techniques help to safely introduce changes while preserving existing behavior, minimizing risks, and improving testability. In this course we will use sprout techniques with methods and objects to refactor or expand capabilities.
C#
Moq
.NET Core
xUnit
6 lessons
27 practices
4 hours
Badge for Software Development Practices,
Software Development Practices
Course details
Sprout Method - Reducing Risk of Adding New Features
Sprouting a New Order Processing Method
Testing Order Processing with Surcharges
Testing Empty Orders with Surcharges
Testing Negative Surcharges with Theory
Testing Order Processing with Surcharges
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal