Hoofdstuk 5 - Testing Flashcards

1
Q

You’re responsible for setting up a test program. To whom will you assign the responsibility to write tests? Why?

A

Every developer should write their own tests (unit tests) + test team (integrations tests)

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

Explain why basis path testing, condition testing and loop testing complement each other.

A

Because they tests various aspects of the path.

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

Why is mutation coverage a better criterion for assessing the strength of a test suite?

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

Explain what FIT tables are.

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

When would you combine top-down testing with bottom-up testing? Why?

A

When integrating multiple modules to try to test as much as possible.

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

When would you combine black-box testing with white-box testing? Why?

A

When you want to sufficiently test a module. White-box testing is less relevant in OO.

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

Is it worthwhile to apply white-box testing in an OO context?

A

Sequence & collaboration diagrams serve a better way to apply white-box testing an an OO context, thus it is worthwhile enough.

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

What makes regression testing important?

A

It’s a huge help during maintenance, it helps ensure that all things still work when applying changes.

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

Is it acceptable to deliver a system that is not 100% reliable? Why?

A

Completely reliable is almost impossible, thus it is more acceptable to deliver a system with a mean time between failures.

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

Explain the subtle difference between code coverage and test coverage.

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