Question
Which software testing technique involves testing the
internal structure or workings of an application?Solution
White Box Testing (also known as Clear Box Testing or Glass Box Testing) involves testing the internal structures, logic, and code paths of an application. It is often performed by developers or testers with a strong understanding of the codebase. This technique ensures that all internal operations of the software, such as loops, statements, and decision branches, work as intended.
- Key Features: It includes techniques like statement coverage, branch coverage, and path coverage. For example, ensuring that every conditional statement ( if , else ) executes at least once.
- Why It Is Important: White Box Testing identifies errors that are deeply rooted in the code, such as logic errors or security vulnerabilities.
- Tools Used: Tools like JUnit, NUnit, or Selenium with code coverage analyzers like JaCoCo are used for this testing.
- Black Box Testing: Focuses on the application’s functionality without considering internal code, unlike White Box Testing.
- Regression Testing: Validates that recent changes don’t affect existing functionality but doesn’t analyze internal workings.
- UAT: Tests the application’s compliance with user requirements, not its internal structure.
- Integration Testing: Focuses on interactions between modules, not on internal code paths.
Which of the following project is not funded by the World Bank?
Which of the following PSB has become the second most valuable bank recently in terms of market capitalisation ?
Consider the following statement about Pradhan Mantri Kisan Samman Nidhi (PM-KISAN):
I. Under the scheme, the Centre transfers an amount of Rs...
Who is eligible for the benefits of Ayushman Bharat - PMJAY?
Which currency did Zimbabwe launch and is backed by gold reserves to address economic instability?
What is the minimum net worth required for a body corporate to be recognized as an Accredited Investor in India?
What is the full form of TREDS?
What is the lock-in under NPS Vatsalya Account? Â
What is the minimum value of funds or securities that can be accepted by the portfolio manager from the client while opening the PMS account?
BookMyShow and RBL Bank have collaborated to offer the new credit card called “Play” to increase the entertainment value for the Indian customers....