testing Flashcards

(16 cards)

1
Q

What is white box testing

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

What is white box testing

A

tests internal logic of a section of code to identify errors in syntax logic and data flow
tester needs to know how code works
white box tests carried out on units of code
tests cases should be built so that every statement is executed at least once

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

What is a test case

A

Document that contains a set of tests to help the programmer verify that the code works as expected. it will include expected results and outcomes

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

Advantages of white box testing

A

Thorough because allows each line of code to be tested
Hidden errors are identifie dand code is moified and optimised
Programmers who know code can easily identify suitable test data

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

What is black box testing

A

Where tester is unaware of internal structure of application they are testing.
Used to identify errors in data structures, user interfaces, errors in reports, missing functionallityi and behaviour reports

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

Disdavntages of white box testing

A

experience programmers are required
Large scale application require complex test cases (time consuming)
Some conditions may not be tested

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

Advantages of black box testing

A

Can help identify where user requirements are not being met
testers don’t need to know about the code and testers can be independent of devleoper
Test cases can be designed as soon as the specificaiton for the unit is completed

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

Disadvantages of black box testing

A

not all program pathways are tested as only a small number of input cases used
reason for a test failure can’t be determined
repeittion of tests already carried out by programmer 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 that it it s working as expected
Logic of code is tested
Form of white box testingW

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

What is Integration testing

A

When a number of units have been tested they are combined together to form a sub-system. Integration testing ensures that all of the units work together correctly

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

what is system testing

A

carried out on a complete and fully integrated system to ensure correct outputs are produced in compliance with user requirements document

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

What is extreme data

A

used to test system can cope with very large or very small ddata values
Valid data used to test that the system operates as expected with normal data

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

What is valid data

A

used to test system operates as expefcted with normal data

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

What is invalid data

A

Used to test that system can process invalid data and doesn’t crash when entered

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

What is null data

A

Used to test system can cope when no data entered