Question
Which testing type evaluates internal code logic and
control flow?Solution
White Box Testing , also known as glass box or transparent box testing, evaluates the internal structure, logic, and flow of code. Testers use knowledge of the internal architecture to design test cases, focusing on code coverage, control structures, and paths. Techniques such as statement coverage, branch coverage, and path coverage are commonly used. For example, a white box test might verify that a loop executes the expected number of times or that all branches of an if-else statement are tested. This method ensures robust code quality and early defect detection. Why Other Options Are Incorrect :
- Unit Testing : This focuses on testing individual components or modules, regardless of their internal code logic.
- Integration Testing : This evaluates how different modules interact, without detailed inspection of internal logic.
- Black Box Testing : This examines external functionality without insight into the internal code structure.
- User Acceptance Testing (UAT) : This validates the system against user requirements and does not involve code-level testing.
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд┬а рд╡рд┐рдХрд▓реНрдкреЛрдВ рдореЗрдВ рд╕реЗ entitle┬а рд╢рдмреНрдж рдХрд╛ рдкрд░реНрдпрд╛рдп рдирд╣реАрдВ рд╣я┐╜...
рд▓рдЧреЗ рдкреНрд░рддрд┐рдмрдВрдзреЛрдВ рд╕реЗ рд╡реНрдпрд╛рдкрд╛рд░ рдореЗрдВ рд╡реНрдпрд╡рдзрд╛рди рдиреЗ рдЖрдкреВрд░реНрддрд┐ рдХреА рдЪрд┐рдВрддя┐╜...
рджрд┐рдП рдЧрдП рд╡рд┐рдХрд▓реНрдкреЛрдВ рдореЗрдВ рд╕реЗ рдХреМрдирд╕рд╛ рд╢рдмреНрдж рдмрдХрд╛рдпрд╛ рдХрд╛ рдЕрдВрдЧреНрд░реЗрдЬреА рдкрд░реНрдпрд╛я┐╜...
‘рдирд┐рд░реНрдЧрдо рдЕрд╡рдзрд┐’ рдХрд╛ рдмреИрдВрдХрд┐рдВрдЧ рд╢рдмреНрджрд╛рд╡рд▓реА рдХреЗ рдЕрдиреБрд╕рд╛рд░ рд╕рд╣реА рдЕрдВрдЧреНрд░я┐╜...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдкреНрд░рддрд┐рджреНрд╡рдВрджреНрд╡реА рд╢рдмреНрдж рдХрд╛ рдЕрд░реНрде рдирд╣реАрдВ рд╣реИ ?...
рд╣рд┐рдиреНрджреА рдХреЗ рд╡реНрдпрд╛рдкрдХ рдкреНрд░рдЪрд╛рд░- рдкреНрд░рд╕рд╛рд░ рдХреЛ рджреГрд╖реНрдЯрд┐ рдореЗрдВ рд░рдЦрддреЗ рд╣реБрдП┬а 'рд╣рд┐...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╣рд┐рдВрджреА рд╡рд╛рдХреНрдп рдХрд╛ рдЕрдВрдЧреНрд░реЗрдЬреА рдореЗрдВ рдЕрдиреБрд╡рд╛рдж рдХрд░рд┐рдпреЗ-я┐╜...
NEFT:
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ transfer тАЩ рд╢рдмреНрдж рдХрд╛ рд╢рдмреНрджрд╛рд╡рд▓реА рдореЗрдВ рд╕рд╣реА рд╣рд┐рдВ...
рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рд╡рд┐рдХрд▓реНрдкреЛрдВ┬а рдореЗрдВ рд╕реЗ рд╕рдВрдЧреБрдЯрди┬а рдХрд╛ рдкрд░реНрдпрд╛рдп┬а рд╣реЛрдЧрд╛ред┬а ...