Which scenario best illustrates a limitation of manual testing?
- A complex application requires testing for hundreds of input fields.
- A single webpage needs a quick visual check.
- A software constantly evolves with regular updates.
- A test script is executed flawlessly the first time.
Manual testing can become tedious and error-prone, especially for repetitive tasks or scenarios with extensive data inputs. Testing a complex application with numerous input fields manually can increase the risk of missing defects due to human error or oversight.
When using the "stubs" and "drivers" approach in testing, which form of integration testing is typically being employed?
- Big Bang
- Bottom-Up
- Sandwich
- Top-Down
"Stubs" and "drivers" are used in Bottom-Up integration testing. Stubs are used to simulate lower modules (that are yet to be developed) while drivers simulate higher modules. It ensures that the main logic is tested early on.
In a scenario where a company is launching a product globally, which kind of testing would be crucial to ensure the application's design is culturally appropriate and universally intuitive?
- Compatibility Testing
- Globalization Testing
- Performance Testing
- Regression Testing
Globalization testing is vital for applications that are intended for a global audience. It ensures that the software can handle and display worldwide data and is usable regardless of cultural or regional differences. It addresses potential issues like cultural sensitivity, local customs, and language preferences.
Which of the following tools is primarily used for Java application unit testing?
- JUnit
- LoadRunner
- QTP (UFT)
- Selenium
JUnit is a widely adopted framework that facilitates unit testing for Java applications. It's an open-source tool and provides annotations to write test cases. While Selenium, LoadRunner, and QTP have their areas of strength, JUnit's primary focus is Java unit testing.
Which type of testing technique focuses on testing an application without looking into the internal code structure?
- Black-box Testing
- Grey-box Testing
- Static Testing
- White-box Testing
Black-box Testing, often called behavioral testing, focuses on examining the functionality of the application without delving into its internal structures or workings. The main goal is to test how the software behaves in response to various inputs and conditions.
During test estimation, considering the _______ ensures that we account for the time required to review and retest.
- Bug Life Cycle
- Regression Suite
- Test Cycle Time
- Test Scenario
"Test Cycle Time" includes the total time taken for one cycle of testing, from test planning to closure. During test estimation, considering the Test Cycle Time is crucial as it ensures that time is allocated not just for executing tests but also for reviewing and retesting, if necessary.
During which phase of the STLC is the traceability matrix prepared?
- Requirement Analysis
- Test Design
- Test Execution
- Test Planning
The traceability matrix is prepared during the Requirement Analysis phase of STLC. It's a document that maps and traces user requirements with test cases. It ensures that all requirements are covered by test cases so that no functionality is left untested.
_______ testing, a black-box technique, emphasizes using the software just like an end-user without any predetermined test cases.
- Acceptance
- Exploratory
- Functional
- Regression
"Exploratory Testing" is an unscripted testing approach where the tester actively controls the design of the tests as those tests are performed. The tester often follows their intuition and experience during testing.
What is the primary goal of unit testing?
- To find performance bottlenecks
- To test individual components in isolation
- To test user interfaces
- To validate system behavior
Unit testing primarily focuses on testing individual units or components of a software in isolation. The main aim is to validate that each unit of the software performs as designed. It ensures that every part of the software behaves correctly in isolation.
Which tool is commonly used for Configuration Management in modern software development processes?
- Git
- JIRA
- Jenkins
- Selenium
Git is a widely-accepted distributed version control system used in modern software development processes. It allows multiple developers to work on the same project simultaneously, keeping track of code versions and changes. Jenkins is primarily a CI/CD tool, JIRA is more for issue tracking, and Selenium is for web testing.