Node.js Express REST API 및 React Component 테스트

2020. 2. 10. 04:11서버 프로그래밍

 

https://medium.com/kanssfer-consulting/testing-expressjs-rest-api-with-mocha-and-chai-90bf4178f15e

 

Testing ExpressJS REST API with Mocha and Chai

ExpressJS is the most famous Node.js framework for creating Web Applications and REST API or so-called Micro Services. It provides a…

medium.com

 

https://create-react-app.dev/docs/running-tests/

 

Create React App · Set up a modern web app by running one command.

> Note: this feature is available with `react-scripts@0.3.0` and higher.

create-react-app.dev

https://www.freecodecamp.org/news/testing-react-hooks/

 

How to Test React Components: the Complete Guide

When I first started learning to test my apps back in the day, I would get very frustrated with the different types, styles and technologies used for testing, along with the disbanded array of blog posts, tutorials and articles. I found this to be true as

www.freecodecamp.org

https://spectrum.chat/testing-library/help/simple-fireevent-click-not-working~1f38c1b0-b152-4b43-a546-3f5084eacbd6

 

Simple fireEvent.click not working · Testing Library

Hi, I have a dead simple click handler test which is not working. Component Test This results in Jest thinking that mockOnClick has not been called. The result…

spectrum.chat

https://testing-library.com/docs/react-testing-library/example-intro

 

Testing Library · Simple and complete testing utilities that encourage good testing practices

Simple and complete testing utilities that encourage good testing practices

testing-library.com

https://thoughtbot.com/blog/good-things-come-to-those-who-await

 

Good Things Come to Those Who Await

How using async/await can make your async JavaScript code clearer.

thoughtbot.com