Lecture 4: Unit Testing to Support Refactoring

This lecture considers the role played by unit testing in software development, with particular emphasis on how unit tests support future code changes and design improvement. It shows practical examples of how unit tests can be written for Java code using the JUnit and Spock testing frameworks.