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 is accounted for SLR:
Which of the following Indian beaches got the Blue flag Certification and is Asia’s only beach to get this?
Under bank ombudsman scheme, bank ombudsman has given the power to provide compensation up to ----.
At the Paris Summer Olympics, in which event did Swapnil Kusale win his first Olympic bronze medal?
The State animal of Madhya Pradesh is?
Which Indian badminton player won her first senior international title by winning the women’s singles at the Belgian International 2024?Â
Consider the following statements:
Assertion (A): India underwent modernization in the 19th century due to socio-religious reform movements.
...When was the Chandigarh union territory established?
Who has been awarded by Energy Efficiency Services Limited a contract to procure 10,000 electric vehicles for govt. departments
The National Game of Bhutan is