Chapter 1 Flashcards

1
Q

What is testing and why is it necessary?

A

A set of activities to discover defects and evaluate software.
-Involves validation and verification and may be static or dynamic.
-Necessary because it increases quality of requirements and leads to fewer changes.
-a form of quality control, helping achieve goals within the set scope, time and budget.
- testing contribution not limited to test team- any stakeholder can use their testing skills to bring project closer to success.

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

What general skills does a tester need?

A

Specialised knowledge, analytical skills, critical thinking, systems thinking.

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

What is test objectives?

A

Clear concise statements that describe what a test aims to achieve. May start with “evaluate, reduce, provide, verifying, ensuring “ etc…

Eg- reduce the level of risk of inadequate software
OR
Verify specified requirements have been fulfilled.

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

Difference between testing and debugging?

A

Testing : evaluate quality of software to identify defects. Can trigger failures caused by defects (dynamic) or directly find them (static).

Debugging :fix defects found. Locating the root cause, analysing the cause, and eliminating them.

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

Typical debugging process?

A
  • reproduction of a failure
  • diagnosis
  • fixing the cause
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is confirmation testing?

A

Checks whether the fixes in debugging resolved the problem.
Preferably done by the same Person who performed the initial test.

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

What is regression testing?

A

Checks whether fixes are causing failures in other parts of test object.

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

When static testing identifies defect, what happens?

A

Debugging removes it. No need for reproduction or diagnosis since static finds defect directly.

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

Testing contributions to success?

A
  • cost effective means of detecting defects
    -can be removed by debugging (non- testing activity)
    -contributes to higher quality test objects
    -directly evaluated quality of a test object at various stages in the SLDC.
    -provide users with indirect rep on development plan.
    -users needs considered throughout OR involve set of users which is not uslaly possible due to cost and availability.
    -required to meet contractual/ legal requirements.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Quality control?

A

Testing is a form of quality control.
-product oriented
-corrective approach

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

Quality Assurance?

A

-process oriented
-preventative approach that focuses on implementation and improvement of processes
- applies to dev process and testing and is the responsibility of everyone on a project.

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

How are test results used in QA and QC?

A

Quality control- to fix defects

Quality assurance - to provide feedback on how week the dev and test processes are performing.

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

Error, defect, failures and root causes?

A

-humans make errors which cause defects
- these can cause failures
-defects can be found in documentation, or code or supporting artifact
- root cause- reason for occurrence.
-identified thru root cause analysis and similar defects can be prevented and removed at the same time here

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

What are the 7 testing principles?

A
  1. Testing shows the presence, not the absence of defects
  2. Exhaustive testing is impossible

3.early testing saves time and money

4.defects cluster together

5.tests wear out

6.testing is context dependant

  1. Absence of defects fallacy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

7 test activities and tasks?

A

Implemented iteratively or in parallel.

  1. Test planning
  2. Test monitoring and control
  3. Test analysis
    4.test design
  4. Test implementation
  5. Test execution
  6. Test completion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The way testing is carried out depends on?..

A

Stakeholders(needs, cooperation..)

Team members(skill, availability ..)

Technical factors

Business domain

Project constraints

Organisational factors

SLDC

Tools

17
Q

What is testware?

A

The toolkit that testers use to ensure quality.

Test planning work products

Test monitoring and control work products

Test analysis work products

Test design work products

Test implementation work products

Test execsuripn work products

Test completions work products

18
Q

Why is traceability important

A
  • to implement effective test Monitoring and control
  • accurate traceability
    supports coverage evaluation
    -makes it possible to determine impact of changes, facilitates test audits, helps meet IT governance criteria
    -makes test progress and completion reports more easily understandable
19
Q

Skills required for testing?

A

Testing knowledge

Thoroughness, attention to detail, methodical

Communication

Analytical

Technical knowledge

Domain knowledge( able to communicate with end users/ business )

20
Q

How to make testing seem like a less destructive activity?

A

Info about defects should be construed in a constructive way

21
Q

What is whole team approach?

A

Any team member with necessary knowledge can perform any task- everyone is responsible for quality

However, not always possible - safety critical

22
Q

What is independence testing?

A

Testers outside the organisation testing.

Work products tested by their author- no independence!

Can make it more effective finding defects due to the differences in cognitive biases

23
Q

Pros and cons of independent testing?

A

Pro- likely to recognise different failures and defect due to different knowledge and experience

Cons- may be isolated from dev team- lack of collaboration. May be blamed for late release.