Unit 2 What is Testing Flashcards
Describe the pros and cons of manual testing
Describe the pros and cons of automated testing
Identify scenarios where to apply either manual or automated testing
What is software verification?
What is unit testing?
What is the difference between a failure, fault, and error?
What is the difference between functional and non-functional testing?
The Therac-25 machine was used for radiation therapy in the 1980’s. It had two modes of radiation: low and high. During the accidents, the machine would incorrectly display the machine was set to low power when in fact it was configured for high power. What initiated the deadly chain of events?
The technician input commands very quickly
Context: What is Software Testing?
An Error is a deviation from the expected behavior
False
Context: What is Software Testing?
Unit Testing is when the smallest component of a software system is verified to produce the expected behavior.
True
Context: What is Software Testing?
Given the following scenario, identify if it would best be tested manually or with an automated system.
You want to ensure developers verify their code doesn’t break existing features before adding it to the centralized repository.
Manual or Automated?
Automated
Context: Unit Testing
Each unittest test case must include at least one ________.
Assertion
Context: Unit Testing
Identify the 4 elements to a testing framework.
Test Suite
Test fixture
Test case
Test runner
Context: Software Development Process
What happens in the Requirements phase?
Interviews with stakeholders
Craft user stories and use cases
Context: Software Development Process
What are the 5 phases of the software development process covered in this course?
Requirements
Implementation
Maintenance
Verification
Design
Context: Unit Testing
What is the testing framework we use in this course?
Unittest
Context: What is Software Testing?
Which of the following are reasons testing important?
Saves money
Saves time
Life and Death
Happier customers
Context: Software Development Process
What happens during the Design phase?
Produce the design document
Layout the architecture of the program
Context: What is Software Testing?
A Failure occurs because of a “bug” in the code: a fault
True
Context: What is Software Testing?
Given the following scenario, identify if it would best be tested manually or with an automated system.
You are a game developer and received an angry email from a customer saying they fell through the ground when trying to climb a particular hill.
Manual
Context: What is Software Testing?
Which of the following are examples of Functional Testing?
Regression Testing
Unit Testing
Context: What is Software Testing?
A Fault is a mistake
False