ISTQB Test Types: Functional Testing
10 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

In software testing, what is the primary goal of prioritizing requirements within a requirements-based functional testing approach?

  • To focus testing efforts on the most critical functionalities of the system. (correct)
  • To simplify the test design process by grouping similar requirements together.
  • To reduce the overall time spent on testing by skipping complex requirements.
  • To ensure all requirements are tested equally, regardless of their importance.

Which of the following testing types focuses primarily on evaluating if a component adheres to non-functional attributes such as performance and security?

  • Regression testing
  • Functional testing
  • Confirmation testing
  • Non-functional testing (correct)

What is the main purpose of performing regression testing after changes have been made to the software?

  • To verify that the software complies with specific security standards.
  • To ensure that the changes have not introduced new defects or adversely affected existing functionality. (correct)
  • To confirm that newly added features work as expected.
  • To evaluate the performance of the system under heavy load.

Which testing type is specifically performed to verify that a defect fix has resolved the issue without introducing new problems?

<p>Confirmation testing (D)</p> Signup and view all the answers

In the context of white-box testing, what does achieving '100% statement coverage' typically imply?

<p>Every line of code has been executed at least once during testing. (D)</p> Signup and view all the answers

Which of the following is an example of a functional test at the system level?

<p>Testing how account holders can apply for a line of credit. (A)</p> Signup and view all the answers

Which testing activity assesses the system's tolerance to failures when an external credit score microservice becomes unresponsive?

<p>System integration testing (C)</p> Signup and view all the answers

What is the focus of business-process-based functional testing?

<p>Using knowledge of business processes to create user scenarios for testing. (C)</p> Signup and view all the answers

At the component integration level, which type of testing would be used to confirm that interface-related defects have been resolved?

<p>Confirmation testing (B)</p> Signup and view all the answers

How does the use of automated regression tests in a continuous integration framework primarily contribute to software quality?

<p>By immediately detecting whether new code changes have introduced regressions. (D)</p> Signup and view all the answers

Flashcards

Functional Testing

Evaluates if a component or system satisfies functional requirements.

Non-functional Testing

Evaluates if a component complies with non-functional requirements.

White-box Testing

Testing based on analysis of the internal structure of a component.

Confirmation Testing

Testing to confirm a failure caused by a defect does not reoccur after the defect has been fixed.

Signup and view all the flashcards

Regression Testing

Testing to detect whether defects have been introduced in unchanged areas of the software.

Signup and view all the flashcards

Functional testing vs Black-box testing

Testing performed to evaluate if a component or system satisfies functional requirements. Testing based on an analysis of the specification of the component or system

Signup and view all the flashcards

Test type

A group of test activities based on specific test objectives aimed at specific characteristics of a component or system

Signup and view all the flashcards

Study Notes

  • Test type: Group of test activities with specific objectives aimed at specific characteristics of a component or system, according to the ISTQB Glossary.

Test Type Categories

  • Functional testing
  • Non-functional testing
  • White-box testing
  • Change-related testing

Functional Testing

  • Evaluates if a component or system satisfies functional requirements.
  • Determines what a system does, focusing on specific functionalities.
  • Searching for flights or calculating employee pay are examples.
  • Functions are typically described in business requirements, functional specifications, use cases, epics, and user stories.
  • Black-box testing is related where testing is based on an analysis of the specification of the component or system

Functional Testing Perspectives

  • Requirements-based uses a specification as the basis; table of contents is a good starting point, needs prioritization.
  • Business-process-based relies on knowledge of business processes, and user scenarios as a basis.

Non-Functional Testing

  • Evaluates that a component or system complies with non-functional requirements.
  • Tests quality characteristics at all test levels.
  • Performance, load, stress, usability, maintainability, reliability, portability, and security testing are included.

White-Box Testing

  • Testing is based on an analysis of the internal structure of the component or system.
  • Also known as clear-box, code-based, glass-box, or structural testing and primarily looks at the implementation.
  • Is most often used as a way of measuring thoroughness
  • Is often applied at the component and component integration testing levels.
  • At the component integration level, testing is based on the architecture.
  • Good tool support is available at the component level, and typically includes coverage measurement.

Confirmation Testing

  • Performed after fixing a defect to confirm that a failure caused by that defect does not reoccur.
  • A new software version is tested again post-defect fix confirmation
  • Also known as re-testing.

Regression Testing

  • Executes previously run test cases to verify that software modifications or environment changes have not caused unintended adverse side effects and that the system still meets requirements.
  • A regression test suite or pack is common.
  • Regression tests are executed whenever the software changes as a result of fixes, new, or changed functionality.

Functional Tests at Each Level

  • Component testing: How the component calculates compound interest.
  • Component integration testing: How account information from the UI is passed to the business logic.
  • System testing: How account holders can apply for a line of credit.
  • System integration testing: How the system uses an external microservice to check an account holder’s credit score.
  • Acceptance testing: How the banker handles approving or declining a credit application.

Non-Functional Tests at Each Level

  • Component testing: Time or number of CPU cycles to perform a complex interest calculation.
  • Component integration testing: Checks for buffer overflow (a security flaw) from data passed from the user interface to the business logic.
  • System testing: Portability tests on whether the presentation layer works on supported browsers and mobile.
  • System integration testing: Reliability tests evaluate robustness if the credit score microservice does not respond.
  • Acceptance testing: Usability tests for accessibility of the banker's credit processing interface for people with disabilities.

White-Box Tests at Each Level

  • Component testing: Achieves 100% statement and decision coverage for all components performing financial calculations.
  • Component integration testing: Coverage of how each screen in the browser interface passes data to the next screen and to the business logic.
  • System testing: Coverage of sequences of web pages that can occur during a credit line application.
  • System integration testing: Coverage of all possible inquiry types sent to the credit score microservice.
  • Acceptance testing: Coverage of all supported financial datafile structures and value ranges for bank-to-bank transfers.
  • Component testing: Automated regression tests for each component are included in the continuous integration framework and pipeline.
  • Component integration testing: Confirmation tests for interface-related defects are activated as the fixes are checked into the code repository.
  • System testing: All tests for a given workflow are re-executed if any screen changes.
  • System integration testing: As part of continuous deployment of the credit scoring microservice, automated tests of the interactions of the application with the microservice are re-executed.
  • Acceptance testing: All previously failed tests are re-executed after defects found in acceptance testing are fixed.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

Explore ISTQB test types, focusing on functional testing. Learn how to evaluate if a system satisfies functional requirements. Understand perspectives like requirements-based and business-process-based testing to improve your testing strategies.

More Like This

Software Functional Testing
4 questions
Unified Functional Testing (UFT)
4 questions
Functional Testing and UCD Methods
29 questions
Use Quizgecko on...
Browser
Browser