Question · JavaScript and TypeScript course · Module 11: Testing with Jest

The TDD Cycle

What is the correct order of steps in the TDD cycle?

Answer options

  • Red -> Green -> Refactor
  • Green -> Red -> Refactor
  • Code -> Test -> Deploy
  • Refactor -> Red -> Green

You can check the correct answer by solving this task in the CodeWorlds game.