---
title: "Discussion on \"How to write tests for React in 2020 - part 1\" | Hashnode"
description: "Discussion on \"How to write tests for React in 2020 - part 1\". Write React Test with react recommend libraries — Jest & React Testing Library for a complete beginner.\n\n\n From https://reactjs.org/docs/test-utils.html#overview\nThis article is intended to who just start to learn React and wonder how to write some s..."
url: "https://hashnode.com/posts/how-to-write-tests-for-react-in-2020-part-1/5ed4da84123fdcb70b936eb4"
---

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

Discussion

# [How to write tests for React in 2020 - part 1](https://blog.kelvinliang.cn/how-to-write-tests-for-react-in-2020-part-1?utm_source=hashnode&utm_medium=feed)

Write React Test with react recommend libraries — Jest & React Testing Library for a complete beginner. From https://reactjs.org/docs/test-utils.html#overview This article is intended to who just start to learn React and wonder how to write some s...

Jun 1, 2020 · blog.kelvinliang.cn  
Updated Jun 18, 2020  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#testing](https://hashnode.com/tag/testing)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#jest](https://hashnode.com/tag/jest)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Kelvin Liang](https://hashnode.com/@kelvin9877)

@kelvin9877 · Huizhou, China

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

Front-End Developer @Home

I am a self-taught web developer from the world of system admin. I love writing, running and making visually appearing web applications. I like to surrounded by computers, gigs, great ideas, and families.

## Responses 1

Markdown supported · ⌘↵ to post

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 1, 2020](https://hashnode.com/posts/how-to-write-tests-for-react-in-2020-part-1/5ed4da84123fdcb70b936eb4/comment/5ed514626f01b6ea4e9529f0)

Thanks, very helpful for React developers!
