JONATHAN MACDONALD

Updated 39 days ago
  • ID: 31760800/84
A Test Shunt is a class that derives from the class to be tested, and overrides a specific part of class behavior to drive how the code behaves during the test. I have found shunts to especially useful when having to control behavior of a dependency within the tested class. Let's say we have a legacy class with a buried dependency like below
  • 0
  • 0
Interest Score
2
HIT Score
0.00
Domain
jonathanmacdonald.net

Actual
www.jonathanmacdonald.net

IP
52.205.239.4

Status
OK

Category
Company, Other
0 comments Add a comment