Test Levels Flashcards

1
Q

Test driven development

A

How can I test this?
If it cannot be tested should it be implemented?
Effective thinking of early defects

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

Component testing

A

A component can be a single unit or collection of units
First dynamic test stage - component testing
Performed on components in isolation
Stubs, drivers and simulators may be used
May include testing of non functional characteristics
Usually performed by programmers

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

Integration testing

A

Many components integrated into a large system
When components added we may need to perform integration testing
Incremental approach may be used
Usually performed by developers

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

Strategies for coding and integration

A

Bottom up, top down “Big Bang”

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

What does a stub or driver look like

A

Can be implemented in a script that interacts with software under test
Can be implemented as separate program
May use a 3rd party product

Stubs/drivers may include logging and recording for tests and automated checking of logs for errors

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

Component integration testing

A

Tests designed to explore direct and indirect interfaces and consistency between components
First stage products of several programmers combined
Can reveal consequences of inconsistent assumptions or bad communication

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

Definition of interfaces

A

Statements which transfer control between programs
Parameters passed from program to program

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

Interface testing defects

A

Integration faults reveal product communication failures
Wrong type of transfer of control
Incorrect type or order of parameters
Read only parameters

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

Inter module parameter checking

A

Does called routine explicitly check input parameters
Does calling routine check

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

System and acceptance testing

A

Focus on testing of complete systems
System testing has multiple drivers

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

System testing

A

Systematic demonstration that all features are available and work as specified
Coverage of all documents featured
Tests designed around baseline documents
Functional and non functional requirements covered

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

Functional vs non functional

A

Functional what the system must do
Non functional how the system does what it does

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

Acceptance testing

A

Done from end users viewpoint
Does it help users do their job?
Emphasis based on essential features
Based on how users use system
Acceptance tests - small scale
Might not require own test depends on contractual oostion or how satisfactory system tests

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

Requirements based testing

A

Scan requirements documents
Which features should be provided
What conditions should be covered

Requirements based tests can help demonstrate supplier has met every requirement

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

Problems with requirements

A

Usually not enough info to test

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

Alpha and beta testing

A

Get feedback from customers
Alpha on supplier site
Beta by users in their site
Are major features missing
Do new features miss the point
Is product ready for release