quiz image

Software Development

SharperBluebell avatar
SharperBluebell
·
·
Download

Start Quiz

Study Flashcards

10 Questions

Black-box testing is done without any special internal knowledge of the product being tested. Which of the following is the best description of a functional test in black-box testing?

Testing the software's user interface for usability issues.

Non-functional tests are an important part of black-box testing. Which of the following is an example of a non-functional test?

Testing if the system can handle a high number of concurrent users.

Regression tests ensure that new code changes do not negatively affect the existing functionality of the software. Which of the following is the best example of a regression test?

Testing all the features of the software after a new update to make sure everything still works as before.

Which of the following is a characteristic of white-box testing?

It involves testing the internal structures or workings of an application, as opposed to its functionality.

What is the primary goal of software testing?

Ensuring the software meets user expectations

In Test-Driven Development (TDD), what is the purpose of the 'Green' phase?

Writing the code to pass the tests

Which testing method involves evaluating the software's functionality without knowing the internal workings of the code?

Black-box testing

What is the purpose of boundary value analysis in testing?

To identify boundary values for testing

Which of the following metrics is used in white-box testing to measure the percentage of code branches that are executed?

Branch coverage

What is the primary purpose of equivalence class partitioning in testing?

To divide inputs into subsets that are expected to be treated similarly by the code

Study Notes

Software Testing Goals

  • The goal of validation in software testing is to ensure the software does what the user wants.

Test-Driven Development (TDD)

  • In TDD, the 'Red' phase involves writing tests that the code should pass.

Testing Methods

  • Black-box testing is a method that involves designing tests without any knowledge of the internal structure of the code.
  • There are other testing methods, including White-box testing and Gray-box testing.

Equivalence Class Partitioning

  • The purpose of equivalence class partitioning in testing is to divide inputs into subsets that are expected to be treated similarly by the code.
  • This helps to identify boundary values for testing.

White-Box Testing Metrics

  • White-box testing metrics include:
    • Statement coverage
    • Decision coverage
    • Path coverage
  • Boundary value analysis is not a metric used in white-box testing.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Black Box Testing Techniques Quiz
5 questions
Software Testing Basics
0 questions
Software Testing Techniques
10 questions
Use Quizgecko on...
Browser
Browser