Back-end Engineering
232 learners
Refactoring by Leveraging Tests with Java & JUnit
This course focuses on the Refactor step in TDD, teaching developers to spot code smells and resolve them through refactoring. Using real-world examples, you'll identify common issues, apply refactoring techniques, and ensure functionality is preserved with existing tests.
Java
JUnit
5 lessons
21 practices
3 hours
Course details
Refactor Duplicate Code in the Tests
Refactor Tests using Parameterization
Extract Function: calculateItemCost
Refactor Duplication between Calculate Functions
Refactor Magic Numbers to Constants

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal