Lec 4 Flashcards

The Second part of testing

1
Q

Interface testing : _______________________________________.

A

Discover the defects and the errors of the interface.

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

there are four types of the interface _______________, ________________, ________________ and __________________.

A

Parameter , Shared memory , Procedural and Message passing interface

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

Write three interface errors _______________, _______________ and ________________ .

A

Interface misuse , Interface misunderstanding and Timing errors .

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

System testing main points:

A
  • test group of integrated components (System).
  • focus on the interaction between the components.
  • check the components interact correctly and transfer the right data at the right time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Use-case testing :

A

identify system interactions can be used as a basis for system testing.
testing the use case forces these interactions to occur. (interactions between components)

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

Testing polices is to cover the required system tests because full system test is _______________ .

A

Impossible

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

In Test Driven Development (TDD):
test is written ______________ the code.

                 ( after - before )
A

before

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

In Test Driven Development (TDD):

we implement the software completely then test it. (true - false)

A

false

implement code incrementally, along with a test (incrementally)

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

TDD was introduced as part of ______________ methods.

A

agile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
Write the Benefits of test-driven development
1-\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
2-\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
3-\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
4-\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
A

Code coverage
Regression testing
Simplified debugging
System documentation

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

Regression testing is test application to verify that the ___________ doesn’t affect the other parts of the application.

A

new code change

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

What is Integration testing?

A
individual software modules are combined and tested as a group.
#internet definition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The two types of integration testing are _________________ and _______________.

A

Top-down integration and Bottom-up integration

Top-down integration: Test the main procedure, then go down through procedures it calls, and so.
Bottom-up integration: Test the leaves in the tree and move up to the root.

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

The major problem that happens during integration testing is ________________.

A

localizing errors

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

What is Incremental integration testing?

A

joining two modules (logically related) then test it, and so on until the whole system successfully tested.

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

What is Stubs and Drivers?

A

Simulate data communication with the calling module. Not implementing the entire programming logic of the module.

17
Q

Compare between Release testing and system testing:
who perform it :_________________________________
objective of it:___________________________________

A

Release testing: group of testers who perform it.
System testing: Developers who perform it.

system testing objective: focus on discovering bugs in the system (defect testing).
Release testing objective: check that the system meets it’s requirements (validation testing).

18
Q

Performance testing is to test the properties of the system such as _______________ and ________________.

A

performance and reliability

19
Q

Stress testing is part of performance testing which check the failure behavior of the system by____________ it.

A

overloading

20
Q

what is test case?

A

Description of everything needed for one test run.

21
Q

test data is __________ that have been designed to test the system.

A

inputs

22
Q

What is Structural testing?

A

tests that designed from the program implementation structure.

Note : it also called white-box , glass-box , clear-box.

23
Q

Path testing is a structural testing strategy to ensure that each test case is ____________________ path.

A

independent

Note: mostly used during component testing.

24
Q

Cyclomatic complexity is software measurement used to indicate_______________

A

complexity of a program.

25
Q

Write the three types of user testing _______________ , _______________ and _________________ .

A

Alpha testing , Beta testing and Acceptance testing .

26
Q

Agile methods and acceptance testing:-

In Agile methods the user is part of ________________ team and decide to _____________ the system or not.

A

Development / accept

27
Q

Agile methods and acceptance testing:-

Tests are defined by ______________ and it’s run automatically if _____________ are made.

A

user / changes

28
Q
Testing workbench:_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
• \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
A
  • Test Managers
  • Test data generators
  • Test oracles
  • File comparator
  • Dynamic analyzer
  • Simulators