Chapter 8 Flashcards

1
Q

Why do we need TESTING?

A

To show that a program does what it is INTENDED to do and to discover program DEFECTS

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

What can testing REVEAL?

A

Testing can reveal the presence of ERRORS, but NOT their absence.

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

Draw a scheme of testing as input-output process

A

Input test data—>[System]—–> Output test results

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

what doe V&V stand for?

A

Verification and Validation

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

What is Verification ?

A

“Are we building the product right”.
It means the software should conform to its specification.

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

What is Validation?

A

“Are we building the right product”.
It means the software should do what the user really wants

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

What is the goal of V&V?

A

It’s to establish confidence that the system is
‘fit for purpose’.

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

What does the confidence of **V&V **depend on?

A

1)Software’s purpose, 2)user expectations and
3)marketing environment

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

what is Software INSPECTION?

A

inspections involve people examining the source representation with the aim of discovering ANOMALIES and DEFECTS.

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

what are ADVANTAGES of INSPECTION?

A

 Due to inspection being a static process, you don’t have to worry about errors hiding each other
 Incomplete versions of a system can be inspected
without additional costs.
 other that error detection, Inspection can also check compliance with standards, portability
and maintainability.

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

Name stages of testing:

A
  1. Development testing
  2. Release testing
  3. User testing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what stages does Development testing include :

A

1.Unit testing
2. Component testing
3. System testing

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

what is Unit testing?

A

It’s testing individual components in isolation.

It is a defect testing process.

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

What does Unit testing check?

A

1) Individual functions
2)Object classes
3) Composite components

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

what parts does the automated test have?

A
  1. A setup part
  2. A call part
  3. An assertion part
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is TDD?

A

Test-driven development - The code is developed incrementally, along with a test for that increment. You don’t move on to the next increment until the code that you have developed passes its test

17
Q

what are steps of TDD?

A
  1. Identifying the increment of functionality
  2. Write a test
  3. Run the test
  4. Implement the functionality and re-run the test.
  5. Move to the next chunk
18
Q

what are advantages of TDD?

A
  1. Code coverage
  2. Regression testing
  3. Simplified debugging
  4. System documentation.
19
Q

what is Regression testing?

A

It’s testing the system to check that new changes have not ‘broken’ previously working code.

20
Q

What is Release testing?

A

It is the process of testing a particular release of a system that is intended for use outside of the development team.

21
Q

what is User Testing?

A

testing process in which users or customers provide input and advice on system testing.

22
Q

what are types of User testing?

A
  1. Alpha
  2. Beta
  3. Acceptance
23
Q

what is Alpha testing in User testing?

A

users of the software work with the development team to test the software at the developer’s site.

24
Q

what is Beta testing in User testing?

A

a release of the software is made available to users to allow them to experiment and to raise problems that they discover with the system developers.

25
Q

what is Acceptance testing in User testing?

A

customers test a system to decide whether or not it is ready to be accepted from the system developers and deployed in the customer environment.