Podcast
Questions and Answers
In software testing, what is the primary goal of prioritizing requirements within a requirements-based functional testing approach?
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?
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?
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?
Which testing type is specifically performed to verify that a defect fix has resolved the issue without introducing new problems?
In the context of white-box testing, what does achieving '100% statement coverage' typically imply?
In the context of white-box testing, what does achieving '100% statement coverage' typically imply?
Which of the following is an example of a functional test at the system level?
Which of the following is an example of a functional test at the system level?
Which testing activity assesses the system's tolerance to failures when an external credit score microservice becomes unresponsive?
Which testing activity assesses the system's tolerance to failures when an external credit score microservice becomes unresponsive?
What is the focus of business-process-based functional testing?
What is the focus of business-process-based functional testing?
At the component integration level, which type of testing would be used to confirm that interface-related defects have been resolved?
At the component integration level, which type of testing would be used to confirm that interface-related defects have been resolved?
How does the use of automated regression tests in a continuous integration framework primarily contribute to software quality?
How does the use of automated regression tests in a continuous integration framework primarily contribute to software quality?
Flashcards
Functional Testing
Functional Testing
Evaluates if a component or system satisfies functional requirements.
Non-functional Testing
Non-functional Testing
Evaluates if a component complies with non-functional requirements.
White-box Testing
White-box Testing
Testing based on analysis of the internal structure of a component.
Confirmation Testing
Confirmation Testing
Signup and view all the flashcards
Regression Testing
Regression Testing
Signup and view all the flashcards
Functional testing vs Black-box testing
Functional testing vs Black-box testing
Signup and view all the flashcards
Test type
Test type
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.
Change-Related Tests at Each Level
- 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.
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.