A Presentation of Tools that makes legacy code easier to handle
Language | Status |
---|---|
Java | |
C# |
Steps:
- Download and open the class BadFruit.
- Try to replicate the error senario of calling createLoan with 3 new loans.
See Episode 12: Using Approval Tests in .NET (in 3 parts) on Lewellyn Falco's Youtube Channel
- Seams Part 1 -- The Peel -- In this episode we look at how to write your code so it's easy to test. I also highlight Scott Reed from BrainHzSoftware.
- Seams Part 2 -- The Slice -- In this episode, we look at testing hard to test code, but introducing a Mock or Fake. I also highlight Jason Kerney for his contribution to this technique.
- Seams Part 3 -- Peel & Slice -- In this episode we use both the peel & the slice to create seams to easily test difficult code. I also highlight Rich Yumul for his contribution in getting approval tests into php.