What is the difference between Unit and Component Testing?

Paul de Witt
Level Up Coding
Published in
5 min readJan 19, 2023

--

And why you should care.

Photo by Jan Huber on Unsplash

I am becoming a big fan of component testing. With component testing, you test in earlier stages of the development process, and instead of testing an entire application (or a big chunk), you test smaller parts of the application. From a Shift Left perspective, this is a significant development.

--

--

Test Automation Specialist, trainer, Breathlete, DJ, and father of three. Creator at heart.