• 10 hours
  • Easy

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 2/6/20

Can you identify the major testing approaches?

Log in or subscribe for free to enjoy all this course has to offer!

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.