• TestingDocs
TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Software Testing

White Box Testing Techniques

Overview

White box testing deals with the internal logic and structure of the source code. There are several White Box Testing Techniques. Some of them are as follows:

    • Unit Testing
    • Static Code Analysis
    • Dynamic Analysis
    • Coverage Analysis
      • Statement Coverage
      • Branch Coverage
      • Loop Coverage
      • Function Coverage
      • Path Coverage, etc
    • Mutation Testing, etc

Unit Testing

Unit testing is testing a single unit of code as a whole. For example, in object-oriented approach a single unit could be a class. In this testing the single unit is isolated and test to determine whether it behaves as expected.

Static Code Analysis

Static code analysis is going through the code without executing the code, in order to find out defects, and improve code quality. There are several static code analysis tools that we can leverage and integrate into the application build process.

Dynamic Analysis

Dynamic analysis on the other hand involves executing the code and analyzing the program output.

Coverage Analysis

In coverage analysis, we check if the source code is covered and executed during the test runs. For example, in statement coverage, we check what percentage of the code statements are executed by the tests. Ideally, we should design tests such that every statement of the application is executed at least once.

Mutation Testing

Mutation testing is injecting fault or seeding faults into the code and seeing if the test passes or fails.

Related Posts

Trends in Software Engineering

Software Testing /

Shaping the Future of Development: Exploring Key Trends in Software Engineering

PuTTY Tool UI

Software Testing /

Useful Tools for Software Testers

Errors Code Testing Development

Software Testing /

Error Density Metrics

Errors Code Testing Development

Software Testing /

Error Removal Effectiveness Metrics

Software Testing /

Open-Source Load Testing Tools

‹ Types of User Acceptance Testing (UAT)› Software Configuration Management

Recent Posts

  • How to secure your SQL Database: Tips and Tricks
  • Shaping the Future of Development: Exploring Key Trends in Software Engineering
  • Improving Java Performance with Multithreading
  • Difference between PHP and JavaScript?
  • Bing Conversation Styles
  • ChatGPT Introduction
  • Open Source AI Frameworks
  • Artificial Intelligence Tools
  • Top AI Music Applications
  • Top AI Website Design Tools

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com