Unit 4 - Developing test plans Flashcards

1
Q

What is a test case ?

A

A document that contains a set of tests to help the programmer verify that the code works as expected.

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

What is white box testing ?

A

A method of testing which examines the underlying structure of the application or code which has been developed

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

Who can do white box testing ?

A

The tester must know how the code works

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

What are the advantages of WBT ?

A
  • allows each line of code to be tested
  • hidden errors are found
  • programmers are familiar with the code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the disadvantage of WBT ?

A
  • must have an experienced programmer
  • large-scale programs can be time consuming
  • some conditions might not be tested due to time restrictions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Black box testing ?

A

Where the tester is unaware of the internal structure of the application they are testing

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

What does BBT focus on testing ?

A

inputs and outputs

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

What are the advantages of BBT ?

A
  • identifies where user requirements aren’t being met

- tester don’t need to know about the code

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

What are the disadvantages of BBT ?

A
  • not all program pathways are tested
  • the reason for a test failure cannot be determined
  • repetition of tests may occur
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is unit testing ?

A

Testing one module or unit of code to ensure it’s working as expected. the logic of the code is tested

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

Is unit testing WBT or BBT ?

A

WBT

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

What is integration testing ?

A

When a number of units have been tested they are grouped together and tested together

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

What is it called when number of units have been grouped together ?

A

a sub-system

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

What is system testing ?

A

Testing carried out on the complete and fully integrated system.

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

Is system testing WBT or BBT ?

A

BBT

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

List a few features of test plan ?

A
  • introduction
  • testing approach
  • testing environment
  • test strategy
17
Q

What is extreme data ?

A

to test if the system can cope with very large or very small values (usually the upper and lower limits)

18
Q

What is valid data ?

A

to ensure that the system works as expected

19
Q

What is invalid data ?

A

used to ensure the system can process invalid data without crashing

20
Q

What is null data ?

A

to see what the system does when no data is entered