A visual tool for restructuring and refactoring unit tests.

TestSurgeon is a tool for Pharo environment which monitors the execution of unit tests and collects data on what is being tested and how. TestSurgeon provides a test similarity metric and a visualization for refactoring and restructuring tests.

Learn more

How does TestSurgeon do that?

TestSurgeon profiles the execution unit test, it collects data from its execution and visualize the differences between the execution of two test methods. For achieving that, TestSurgeons uses intensivelly: Spy for unit test profiling, Roassal for visualize the information and Glamour for the user interface.