CyberZのWebフロントチームでエンジニアをしている山﨑です。CyberZでは、新たな技術の導入を積極的に行なっており、その中で Jest と React Testing Library を使用した Integration Test の実装を行なったため、その実装例をご紹介したいと思います。 使用技術 React, Next.js, Jest, React Testing Library 結合テスト(Integration Test)とはまず、簡単に結合テスト(Integration Test)の説明をしたいと思います。React Testing Library の著者の方は、結合テストとは「複数のユニットが調和して動作することを検証する」と以下の記事で述べられています。 Static vs Unit vs Integration vs E2E Testing for Frontend
![Jest と React Testing Library を用いた Integration Test|CyberZ Developer](https://cdn-ak-scissors.b.st-hatena.com/image/square/5b5739a40fd1750677ad74580a6b29f5f44c8d3f/height=288;version=1;width=512/https%3A%2F%2Fassets.st-note.com%2Fproduction%2Fuploads%2Fimages%2F103843391%2Frectangle_large_type_2_0b59e6a0906e865cf50dfa80b6b9a4f1.png%3Ffit%3Dbounds%26quality%3D85%26width%3D1280)