Module 1: the fundamentals of testing Flashcards

1
Q

What are the reasons that defective software is potentially dangerous?

A

The reasons are: - loss of money - loss of time - loss of reputation - loss of life

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are two common misperceptions of testing?

A

1) that testing consists of testing only
2) that testing would only be about verification of reqirements, while it’s also about te validation that it meets user & operational needs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 9 typical objectives of testing?

A

1) to evaluate work products
2) to verify whether all specified requirements are fulfilled
3) to verify whether the test object is complete and works as the user and other stakeholders expect
4) to build confidence in th level of quality of the test object
5) to prevent defects
6) to find failures & defects
7) to provide sufficient information to stakeholders, to allow them to make informed decisions, especially regarding the level of quality of the test object
8) to reduce the level of risk & inadequate software quality
9) to comply with regulations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the difference between testing & debugging?

A

deugging is a development activity that is to identify ddfects, analyze defects, rapeir code, check that the defects has been fixed, while testing is a tester activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is testing necessary?

A

1) it’s necessary in requirements to identify and remove defect requirements
2) it’s necessary in design to reduce the risk of fundamental design defects
3) it’s necessary in coding to increase code understanding
4) it’s necessary in testing to increase the likelihood that software meets stakeholder needs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the relationship between testing & quality control

A

quality assurance is not testing

testing & quality assurance are related trough quality management

while quality assurance is about adherence to proper processes, providing confidence in levels of quality, using root cause analysis, retrospective meetings, quality control is about test activities, supporting quality achievements, part of software development process, part of maintenance process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain the differencebetween errors, defects and failures

A

an error is made by a person, that leads to a defect in software, that leads to a system failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

do all defects induce failures?

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

why do errors happen?

A

for many reasons like time pressure, human failability, inexperienced or insufficiently skilled people, miscommunication, complexity of code design or architecture, misunderstanding about inter- & intrasystems, environment conditions like radiation and pollution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Are all unexpected test results failures?

A

No, some of them may be false positives (reported as defects, but actually not), or false negatives (not finding defects that should have been found)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s the difference between teh root cause of a defect and a defect?

A

a root cause is the earliest actions or conditions that contributed to creating defects. Recognizing these can lead to process improvement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain the seven testing principles:

1) testing shows the presence of defects, not the absence
2) exhaustive testing is impossible
3) early testing saves time & money
4) defects cluster together
5) beware of the pesticide paradox
6) testing is context dependent
7) absence-of-error fallacy

A

1) that you can’t find a defect, doesn’t mean it’s not there
2) it’s impossible to find all the defects
3) the earlier you test, the more money you save
4) defects aren’t allocated evenly
5) using the same test over and over again, is not going to give you new defects
6) no two systems should be tested in exactly the same way
7) finding no defects does not help and finding many defects does not help at all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what are the contextual factors that influence the test process?

A
  • SDLC & project methodologies
  • test levels & test types
  • product & project risk
  • business domain
  • operational constraints like budget & time
  • organizational policies & practices
  • required internal & external standards
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are the seven test activities?

A

1) test planning
2) test monitoring & control
3) test analysis
4) test design
5) test implementation
6) test execution
7) test completion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain each test activity by giving examples of tasks

A

1) planning: approach, plan & objectives
2) test monitoring & control: comparing progress of ongoing activities & take actions to meet plan
3) test analysis: analysis of test basis, conditions, features & prioritaze & capture bi-directional traceability
4) test design: design test cases, data identification, design test environment, capture bi-directional traceability
5) develop test procedures, create test scripts, arrange test suites, build test environment, prepare test date, verify & update bi-directional traceability
6) execution: running test suites, recording test ID’s, compare results, analyze anomalies, report defects, …
7) completion: collect data, create summary reports, finalize & archive test environment, analyze lessons learnt, improve test processes …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what are the work products for each testing activity?

A

1) planning: plans containing information on test basis
2) monitoring & control: progress & summary reports
3) test analysis: defined & prioritized test conditions
4) test design: test cases, data, test environment, infrastructure & tools
5) implementation: procedures,suites, execution schedule
6) individual test cases, defect logs, test items, bidirectional traceability
7) completion: summary reports, finalized testware, change requests, action items …

17
Q

what does good traceability between test basis & work product support?

A

it’s good for

  • analyzing impact of changes
  • making testing auditable
  • meeting IT goverance criteria
  • improving understanding of test progress reports & test summary reports
  • relating technical aspets of testing to sH
  • providing information to assss product quality
18
Q

what are the psychological factors that influence the success of testing?

A
  • may be perceived as criticism due to confirmation bias

* blaming th ebearer of bad news

19
Q

what interpersonal skills are needed?

A
start with collaboration
emphasize the benefits of testing
communicate in a neutral and fact focused way
try to understand how the other feels
confirm that the other person understood
20
Q

what is the difference between the developer’s mindset and the tester’s mindset?

A
  • developer is all about designing and building
  • while testers are about validating & verifying (curiosity, professional pessimism, a critical eye, attention to detail, motivation for good & positive communication & relationships)
    (test activities done by independent testers increases the defect detection effectivenes)