Testing and Refactoring Legacy Code
In this video, we take a piece of crappy Java code with no tests. Our objective is to write tests for it and then refactor to make it better. The code has the most common problems that much larger legacy applications have, like Singletons, static calls and feature envy. It also has some design problems. Fixing that is quite hard, mainly when we need to write all the tests before we start the refactoring. Another rule: We cannot change production code if it is not covered by tests but quite often we need to change the production code in order to be able to test it. How to solve this problem? Well, I hope I can answer all these questions in this video. If you want to know more about Software Craftsmanship, please check my book: https://leanpub.com/socra If you want to play with the code, clone it from: https://github.com/sandromancuso/trip...

How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat

Practical Refactoring - How to clean code in many small steps

Testing and Refactoring Legacy Code

Refactoring and Design Skills for Test Driven Development SA2013

🚀 Does TDD Really Lead to Good Design? (Sandro Mancuso)

Testing Legacy Code Elliotte by Rusty Harold

Outside-In Classicist TDD by Sandro Mancuso - Mars Rover

Sandro Mancuso - Testing and Refactoring Legacy Code

Understanding Mock Objects

Effective Unit Testing by Eliotte Rusty Harold

Domain-Driven Refactoring - Jimmy Bogard - NDC Oslo 2020

🚀 TDD, Where Did It All Go Wrong (Ian Cooper)

Refactoring & Design Techniques for the Test Driven Development by Roy Osherove

RailsConf 2014 - All the Little Things by Sandi Metz

Building an AI Email Auto-Labeler #2: Dynamic Labels + Database Storage (Live)

The Clean Code Talks - Don't Look For Things!

Clean Code Refactoring - Jeff Carouth

"The Clean Code Talks -- Unit Testing"

How to Write Clean, Testable Code

