Excellent intro to Test Driven Development and how to apply it for both new code and the much more daunting task of refactoring legacy code. Highly recommended for any software engineering professional looking to improve their skillset, reduce their bug count, and/or confidently enhance code that they have inherited.
The concept of pin-down tests is a critical concept that is explained and demonstrated extremely well. Essentially, before refactoring legacy code, you should create unit tests that confirm the existing behavior/functionality. Includes a great breakdown on how to use code coverage tools to identify missing unit tests, with real example of how to debug and address gaps in 'Branch coverage'.
Great Stuff!
Agile Software Development: Refactoring
With Richard Kasperowski
Liked by 392 users
Duration: 1h 31m
Skill level: Intermediate
Released: 2/1/2019
Course details
Refactoring code is a key responsibility of software developers. It helps you develop quality code—the foundation you need to react quickly to change, add new features, and ship high-performance products. This course teaches the basics of refactoring, tailored for agile development. Instructor Richard Kasperowski helps you set up a test-driven development environment and walks through basic refactoring techniques: the rename variable, extract, and inline methods. In chapter two, he explains how to stabilize legacy code with outstanding technical debt—inefficiencies and errors introduced as the result of careless programming. Then he uses refactoring to simplify code, remove duplication, and build more reusable objects. Finally, he shows how refactoring complements an agile workflow, by demonstrating how to quickly add a new feature to the simplified codebase.
Skills you’ll gain
Earn a sharable certificate
Share what you’ve learned, and be a standout professional in your desired industry with a certificate showcasing your knowledge gained from the course.
LinkedIn Learning
Certificate of Completion
-
Showcase on your LinkedIn profile under “Licenses and Certificate” section
-
Download or print out as PDF to share with others
-
Share as image online to demonstrate your skill
Meet the instructor
Learner reviews
-
Minian Bergman
Minian Bergman
Full Stack Software Engineer
-
TANG LEANGHOUR
TANG LEANGHOUR
Senior Back End Developer at Wing
-
MSc LAZARO Olivas Reyes
MSc LAZARO Olivas Reyes
PROJECT SENIOR MANAGER + A
Contents
What’s included
- Practice while you learn 1 exercise file
- Learn on the go Access on tablet and phone