Job category:
Software Engineering

Using Sprout and Wrap Techniques

Sprout and wrap techniques help safely add or modify functionality in existing code by introducing new methods, classes, or wrappers. These approaches minimize risk, preserve legacy behavior, and improve testability. This course covers both techniques for refactoring and expanding Scala code.
Scala
ScalaTest
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 Parametrized Tests
Testing Order Processing with Surcharges

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
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