Static Techniques And Test Process Flashcards

1
Q

Two types of static testing

A

Reviews and static analysis.

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

What are reviews?

A

Manual examination of documents (done by humans)

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

What is static analysis?

A

Automated analysis of source code and software models - done by tools

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

What is static testing?

A

Is the examination of program source code or other project documentation, with executing the code(running it I think), to find defects.

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

What is the objective of review and static analysis? Is it the same as dynamic testing?

A

Identifying defects.

Same as dynamic.

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

Dynamic testing finds failures which may be caused by defects, what does static techniques?

A

Finds causes of failures (defects) directly, they are complementary techniques(static/dynamic)

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

Any written project document or software product can be reviewed, typical documents include…

A

Business requirements. Functional specifications. Systems and database design. Source code. test plans, test cases, and scripts. User guides, help text. Web pages.

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

Which testing is cheaper?

A

Static

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

Regarding quality what does static and dynamic testing?

A

Static - adds quality to software

Dynamic - checks the quality of software

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

When is static testing performed?

A

Early in the lifecycle before the software is executed

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

When does dynamic testing get performed?

A

Late in lifecycle after software is written.

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

Why is it best to find defects early in a project?

A

Cheaper to fix than ones found later on.

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

Benefits of conducting reviews…

A

Early defect detection and correction. Increased development productivity. Reduced development cost and timescales. Fewer defects in code: reduced cost and time of dynamic testing. Improved communication between testers, analysts, developers and users. Conformance to standards leading to improved maintain ability of code and documents.

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

What is the main aim of the (goals) of the review process.

A

Check and improve the quality of project products:
Verification and validation of documents against specifications and standards. Consistency with predecessor documents. Completeness and conformance standards. O

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

What type of defects should testers identify through reviews

A

Errors, omissions, additions, inconsistencies, ambiguities, readability, terminology, spelling, grammar layout and structure.

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

What types of defect are reviews better than dynamic testing

A

Checking standard, identifying inconsistencies, requirements and designs, assessing maintain ability and checking interface specification.

17
Q

What is a formal review?

A

Any review with documented procedures and requirements

18
Q

Why do reviews vary and how?

A

Formal to informal, systematic, team participation, documented procedures, written instructions…

19
Q

Main activities of a typical formal review

A

Planning, KickOff, Individual Preperation, Review Meeting, Re Work, Follow Up

20
Q

What are the 5 roles of the typical formal review

A

Manager, moderator, author, scribe, reviewers

21
Q

Name the 4 types of review, in level of low to high level of formality

A

Informal,
Walkthrough,
Technical Review,
Inspection

22
Q

What is an informal review?

A

One to one discussion with no formal processes, roles or documented record or findings. Eg buddy reviews, pair programming, inexpensive way to get some benefit.

23
Q

What is walkthrough?

A

Meeting is led by the author of the document being reviewed, reviewers should prepare their comments before the meeting. A scribe produces the report. Allow time for discussion. Good for highly visual products.

24
Q

What is a technical review?

A

Documented, defined defect detection process involved both peers and technical experts, trained moderator leads them. Review from technical view point, discuss make decisions evaluate alternative ones. Review report should be created at the end.

25
Q

What is inspection?

A

Very thorough, formal detect defects in documents and program source code, using rules checklist and entry/exit criteria. Follow up process which is conducted by the author and confirmed by the moderator.

26
Q

11 success factors for reviews

A

Each has clear predefined objectives. Right people for the review objectives are involved. Testers are valued reviewers who contribute to the review and also learn about the product such that can can prepare later. Defects found are welcomed and expressed objectively. People issues and psychological aspects are dealt with. Atmosphere of trust. Suitable to achieve the objectives. Checklist of roles increase effectiveness training is given in review techniques. Management supports a good review process, emphasis on learning and process improvement.