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.
More Basics of Computers Questions
- What will come in the place of question mark (?) in the given expression?
(15 - 19 + 10) ² + ? = 45 X 2 15 × 35 ÷7 + 60% of 300 =?
? = 2640 ÷ {(35% of 1240) – 170}
242 + 18 × 8 – ? = 356
(22² × 8²) ÷ (92.4 ÷ 4.2) =? × 32
3 √(432 – 13 + 9 × 32) = ?
25% of 250 + 32% of 200 = ? ÷ √ 16
17.5% of 400 – 24% of 150 = ?
(25.111 % of 200) × 26 ÷ 12.99 – 18.88 × 15.82 + 150.33% of 3√ 4917 = ? – 200
...{(522 – 482 ) ÷ (27 + 73)} × 35 = ?% of 17