Test-Driven Development (TDD) requires you to pre-specify the output your intended program must produce to pass the test of functioning the way you envisioned. This tutorial will show you all you need to cd path/to/addition-calculator-jest-project Step 4: Create a package, Initialize a package.json file for your project. If

20m read timeFrom freecodecamp.org
Post cover image
Table of contents
Table of ContentsWhat Is Test-Driven Development?JavaScript Example of a Test-Driven Development WorkflowHow to Use Jest as a Test Implementation ToolImportant Stuff to Know about Using ES6 Modules with JestWhat Are the Advantages of Test-Driven Development?What is a Unit Test in Test-Driven Development?What is an Integration Test in Test-Driven Development?What is an End-to-End Test in Test-Driven Development?What are Test Doubles in Test-Driven Development?Quick Overview of Test-Driven Development So FarHow to Test React ComponentsTest Runner vs. React Component Testing Tool: What's the Difference?Project: How React Testing WorksOverview
6 Comments

Sort: