---
title: "Discussion on \"UI Testing: Unit vs Component test\" | Hashnode"
description: "Discussion on \"UI Testing: Unit vs Component test\". When it comes to testing your frontend applications; there are many testing methodologies: unit testing, component testing, integration and end-to-end test. This article focuses on unit and component testing as they are commonly used interchangeably ..."
url: "https://hashnode.com/posts/unit-vs-component-test/63da5db3eb311b52dfcfad33"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [UI Testing: Unit vs Component test](https://blossom.hashnode.dev/unit-vs-component-test?utm_source=hashnode&utm_medium=feed)

When it comes to testing your frontend applications; there are many testing methodologies: unit testing, component testing, integration and end-to-end test. This article focuses on unit and component testing as they are commonly used interchangeably ...

Feb 1, 2023 · 3 min read · blossom.hashnode.dev  
Read the article

-   [#react-testing](https://hashnode.com/tag/react-testing)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react](https://hashnode.com/tag/react)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#component-test](https://hashnode.com/tag/component-test)

## Written by

[Blossom](https://hashnode.com/@Blossom)

@Blossom · Nigeria

  
[View profile](https://hashnode.com/@Blossom)

I write about tech and productivity

I am passionate about simplifying tech concepts

## Responses 2

Markdown supported · ⌘↵ to post

[Stephen Odogwu](https://hashnode.com/@Stevepurpose)

[May 24, 2023](https://hashnode.com/posts/unit-vs-component-test/63da5db3eb311b52dfcfad33/comment/646e1c4c0617594bb4e516d8)

Nice article you wrote ,but if I get you right,testing a React component before production is a form of unit testing also but because in React our codes are in components we can say we are testing the components.

[Chinenye Anikwenze](https://hashnode.com/@kodervine)

[Feb 6, 2023](https://hashnode.com/posts/unit-vs-component-test/63da5db3eb311b52dfcfad33/comment/63e1265bdd39cdb7268c80b4)

Thank you for this distinction. I just started learning how to test my code and this is most helpful

[Blossom](https://hashnode.com/@Blossom)

[Feb 8, 2023](https://hashnode.com/posts/unit-vs-component-test/63da5db3eb311b52dfcfad33/comment/63e1265bdd39cdb7268c80b4#reply-63e3715092c11fd8b26f1b40)

Glad you found this article helpful Chinenye
