Testing Flashcards

1
Q

Define Traceability

A

Property of an artifact being traceable to original requirement

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

How can you record traceability?

A

Traceability Matrix

Links req. and validation process.
Ensures all requirements are tested in test protocols

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

What is Software Testing

A

Process of validating or verifying a software meets requirements that guided its design and development

Detect program errors, not to show its free of errors.

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

Test Driven Development

A

Every step in the development process must start with a plan to verify it.

Do not create an artifact until you know how it will be tested.

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

Steps of TDD

A
  1. select feature for implementation
  2. Code for tests, write code that implements feature, verify and validate using tests.
  3. if result meets expectations, move on
  4. otherwise identify and fix problem.

WriteCode->WriteTest->RunTest->VandV

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

Goal of testing

A

find faults as cheaply and quickly as possible

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

Strategies alongside testing

A
  • design/code review, or SAS
  • test automation -> regression
  • Test early and often
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Static testing

A
  • No execution
  • simulates dynamic environment
    involves:
    syntax check, document walkthrough/inspection, correctness proofs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Dynamic testing

A
  • Execute code
  • Checked against expected behaviour.
  • Validity not guaranteed unless exhaustive tested
How well did you know this?
1
Not at all
2
3
4
5
Perfectly