• 10 hours
  • Easy

Free online content available in this course.



Got it!

Last updated on 2/6/20

Can you identify the major testing approaches?

Evaluated skills

  • Identify the major testing approaches
  • Question 1

    Why is testing code so important?

    Careful, there are several correct answers.
    • It makes it easier to add new functionalities to the code in the future.

    • It ensures that code gets written correctly.

    • It is required by law.

    • Once the code is tested, it will never have to be modified.

  • Question 2

    What's the first phase of the red-green-refactor cycle?

    • Locate all of the tests that have failed.

    • Fix a bug.

    • Write a test that is destined to fail.

    • Write a test based on the code you've already written.

  • Question 3

    Select the two approaches that best describe BDD.

    Careful, there are several correct answers.
    • Use Gherkin syntax to document and write the test cases.

    • Red-green-refactor.

    • Combine TDD with other testing techniques like user story and documentation-orientated approaches.

    • BDD is more primitive than TDD.

Ever considered an OpenClassrooms diploma?
  • Up to 100% of your training program funded
  • Flexible start date
  • Career-focused projects
  • Individual mentoring
Find the training program and funding option that suits you best