Software Testing: Structural, functional, static

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which type of testing focuses primarily on evaluating the code structure itself?

  • Functional Testing
  • Structural Testing (correct)
  • System Testing
  • Acceptance Testing

Functional testing is also known as White Box testing.

False (B)

Name one type of structural testing.

Mutation Testing, Data Flow Testing, Control Flow Testing, Slice-Based Testing

Testing that focuses on software behavior without knowledge of the internal code structure is known as ______ testing.

<p>functional</p> Signup and view all the answers

Match the following types of testing with their descriptions:

<p>Unit Testing = Testing individual components or modules of the software. Integration Testing = Testing the interaction between different modules or components. System Testing = Testing the entire integrated system to verify it meets requirements. Acceptance Testing = Testing conducted by end-users to determine whether to accept the system.</p> Signup and view all the answers

Which of the following testing types is NOT a form of functional testing?

<p>Data Flow Testing (B)</p> Signup and view all the answers

Verification in software testing answers the question: 'Are we building the right product?'

<p>False (B)</p> Signup and view all the answers

What aspect of software quality is verification primarily concerned with?

<p>design architecture</p> Signup and view all the answers

The purpose of ______ is to ensure that the software is being developed according to the specified requirements and design.

<p>verification</p> Signup and view all the answers

Which of the following processes is NOT typically involved in validation?

<p>Static Code Review (B)</p> Signup and view all the answers

Static testing involves executing the code to identify defects.

<p>False (B)</p> Signup and view all the answers

Give an example of a static testing technique.

<p>Informal Reviews, Technical Reviews, Walkthrough, Inspection, Static Code Review</p> Signup and view all the answers

Improving the quality of a software application is an aim of ______ testing.

<p>static</p> Signup and view all the answers

What distinguishes dynamic testing from static testing?

<p>it involves test cases for execution (A)</p> Signup and view all the answers

Dynamic testing is primarily focused on preventing defects rather than finding them.

<p>False (B)</p> Signup and view all the answers

What is one key benefit of performing static testing early in the development lifecycle?

<p>Cost of finding defects and fixing is less</p> Signup and view all the answers

Unlike static testing, dynamic testing is performed after ______.

<p>compilation</p> Signup and view all the answers

Which type of testing is concerned with assessing code and documentation?

<p>Static Testing (D)</p> Signup and view all the answers

More defects are highly recommended for good quality in static testing.

<p>False (B)</p> Signup and view all the answers

Name a type of Dynamic Testing

<p>Unit Testing, Integration Testing, System Testing, Acceptance Testing, Regression Testing</p> Signup and view all the answers

Flashcards

What is Structural Testing?

Focuses on code structure and is also known as White Box testing.

Types of Structural Testing

Includes Mutation, Data Flow, Control Flow and Slice-Based Testing.

What is Functional Testing?

Focuses on software behavior and is also known as Black-box Testing.

Types of Functional Testing

Includes Unit, Integration, System and Acceptance Testing.

Signup and view all the flashcards

What is Verification?

The process to evaluate if we are building the product right.

Signup and view all the flashcards

What is Validation?

The process to evaluate if we are building the right product.

Signup and view all the flashcards

What is Static Testing?

Testing done without executing code, to IMPROVE THE QUALITY OF SOFTWARE APPLICATION

Signup and view all the flashcards

Static Testing Techniques

Includes Informal, Technical Reviews, Walkthrough, Inspection and Static code Review.

Signup and view all the flashcards

What is Dynamic Testing?

Testing done by executing code.

Signup and view all the flashcards

Dynamic Testing Techniques

Includes Unit, Integration, System, Acceptance and Regression Testing.

Signup and view all the flashcards

Static testing.

Testing done without executing the program.

Signup and view all the flashcards

Dynamic Testing

Testing is done by executing the program.

Signup and view all the flashcards

Static testing?

This testing does the verification process.

Signup and view all the flashcards

Validation Testing

Dynamic testing does the validation process.

Signup and view all the flashcards

Defect handling for Static testing?

Static testing is about prevention of defects.

Signup and view all the flashcards

Defect handling for Dynamic testing?

Dynamic testing is about finding and fixing the defects

Signup and view all the flashcards

Static Testing focuses?

Static testing gives an assessment of code and documentation.

Signup and view all the flashcards

Dynamic Testing focuses?

Dynamic testing gives bugs/bottlenecks in the software system

Signup and view all the flashcards

Process of Static testing?

Static testing involves a checklist and process to be followed

Signup and view all the flashcards

Process of Dynamic testing?

Dynamic testing involves test cases for execution

Signup and view all the flashcards

Study Notes

Structural Testing

  • Focuses on code structure.
  • Also known as White Box testing.

Types of Structural Testing

  • Mutation Testing
  • Data Flow Testing
  • Control Flow Testing
  • Slice – Based Testing

Functional Testing

  • Focuses on software behavior.
  • Also known as Black-box Testing.

Types of Functional Testing

  • Unit Testing
  • Integration Testing
  • System Testing
  • Acceptance Testing

Verification in Software Testing

  • Determines whether the product is built right.
  • Focuses on the quality of software application, design, and architecture.

Validation in Software Testing

  • Determines whether the correct product is being built.
  • Processes include unit testing, integration testing, system testing, and user acceptance testing.
  • An example of a clickable button is provided.

Static Testing

  • Done without executing code.
  • Improves the quality of software application.

Static Testing Techniques

  • Informal Reviews
  • Technical Reviews
  • Walkthrough
  • Inspection
  • Static code Review

Dynamic Testing

  • Done by executing code.
  • Ensures software product works.
  • An execution Technique Or Validation Testing

Example of Specific Testing Techniques

  • Unit Testing
  • Integration Testing
  • System Testing
  • Acceptance Testing
  • Regression Testing

Difference of Static and Dynamic Testing

  • Static testing involves verification and is done without executing the program, while dynamic testing involves validation and is done by executing the program.
  • Static testing prevents defects vs dynamic testing which finds and fixes them.
  • Static testing involves a checklist and process; dynamic testing involves test cases for execution.
  • Static testing gives an assessment of the code and documentation, whereas dynamic testing gives bugs/bottlenecks in the software system.

Static Testing vs Dynamic Testing

  • Static testing can be performed before compilation, while dynamic testing occurs after compilation.
  • Static testing covers structural and statement coverage, while dynamic testing includes Boundary Value Analysis & Equivalence Partitioning.
  • Finding and fixing defects is less costly in static testing than in dynamic testing.
  • Static testing provides a high return on investment when involved at an early stage, whereas dynamic testing has a low return on investment after the development phase.
  • Static: More reviews comments are highly recommended for good quality.
  • Dynamic: More defects are highly recommended for good quality.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Software Testing Techniques
40 questions
Test Tipleri: Saydam Kutu Testi
30 questions
Software Testing Techniques
42 questions
Use Quizgecko on...
Browser
Browser