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