Software Testing And Training

July 10, 2008

Basis Path Testing

Filed under: Uncategorized — crestech @ 5:17 am

Basis Path Testing
Aim is to derive a logical complexity measure of a procedural design and use this as a guide for defining a basic set of execution paths.
Test cases which exercise basic set will execute every statement at least once.

a. Flow Graph Notation

Notation for representing control flow
On a flow graph:
1. Arrows called edges represent flow of control
2. Circles called nodes represent one or more actions.
3. Areas bounded by edges and nodes called regions.
4. A predicate node is a node containing a condition

Any procedural design can be translated into a flow graph.Note that compound Boolean expressions at tests generate at least two predicate node and additional arcs.

b. Cyclomatic Complexity

The cyclomatic complexity gives a quantitative measure of the logical complexity.

This value gives the number of independent paths in the basis set, and an upper bound for the number of tests to ensure that each statement is executed at least once.

An independent path is any path through a program that introduces at least one new set of processing statements or a new condition (i.e., a new edge)

Example has:

1. Cyclomatic Complexity of 4. Can be calculated as:
1. Number of regions of flow graph.
2. #Edges – #Nodes + 2
3. #Predicate Nodes + 1

2. Independent Paths:

1. 1, 8
2. 1, 2, 3, 7b, 1, 8
3. 1, 2, 4, 5, 7a, 7b, 1, 8
4. 1, 2, 4, 6, 7a, 7b, 1, 8

Cyclomatic complexity provides upper bound for number of tests required to guarantee coverage of all program statements.

c. Deriving Test Cases

1. Using the design or code, draw the corresponding flow graph.
2. Determine the cyclomatic complexity of the flow graph.
3. Determine a basis set of independent paths.
4. Prepare test cases that will force execution of each path in the basis set.

Note: some paths may only be able to be executed as part of another test.

Software Testing Training

Software testing institute

corporate training software testing

For More Visit Site
http://www.crestechsoftware.com/

For discussion FORUM
http://www.crestechsoftware.com/forum

Certification Preparation for CSTE

Filed under: Uncategorized — crestech @ 5:12 am

Certification Preparation for CSTE
Course Code : CTCSTE822 Source : CresTech Course Length : 3 days

KNOWLEDGE OF: THE TEST ENVIRONMENT

Knowledge Domain 1 : Test Principles and Concepts
Definition of Test Specifications
Testing Techniques
Testing Methods
Independent Testing
Commercial off the self Software
Testing Code Development Under Outside Contract
Test Quality
Testing Life Cycle
Vocabulary
Knowledge Domain 2 : The Tester’s Role in Software Development and Acquisition

The Development and Acquisition Process
Process Knowledge
Roles/Responsibilities
Quality Principles
V Testing Concepts
Testing During and After Development Acquisition
Verification
Validation
Test Approaches
Quality Attributes
Knowledge Domain 3 : Test Management

Test Management
Giving Information
Receiving Information
Personal Effectiveness
Continuing Professional Education
Leadership
Recognition
Networking
Code of Ethics
Knowledge Domain 4 : Build the Test Environment

Test Standard
Test Environment Components
Test Tools
Quality Assurance/Quality Control
Building the Test Environment Work Processes
Adapting the Test Environment to Different Technologies

KNOWLEDGE OF : TEST PLANNING

Knowledge Domain 5 : Risk Analysis

Risk Identification
Managing Risks
Knowledge Domain 6 : Test Planning Process

Pre-Planning Activities
Test Planning
Post Planning Activities

KNOWLEDGE OF : EXECUTING THE TEST PLAN

Knowledge Domain 7 : Test Design

Design Preparation
Design Execution
Knowledge Domain 8 : Performing Tests

Execute Tests
Compare Actual versus Expected Results
Test Log
Record Discrepancies
Knowledge Domain 9 : Defect Tracking and Correction

Defect Tracking
Testing Defect Correction
Knowledge Domain 10 : Acceptance Testing

Concepts of Accepting Testing
Roles and Responsibilities
Acceptance Test Process

KNOWLEDGE OF : TEST ANALYSIS AND REPORTING

Knowledge Domain 11 : Status of Testing

Test Completion Criteria
Test Metrics
Management by Fact
Knowledge Domain 12 : Test Reporting

Reporting Tools
Test Report Standards
Statistical Analysis

<a href=”http://www.crestechsoftware.com/public_training.php/”>Software Testing Training</a>

<a href=”http://crestech.in/”>Software testing institute</a>

<a href=”http://www.crestechsoftware.com/corporate_training.php”>corporate training software testing</a>

For More Visit Site
<a href=”http://www.crestechsoftware.com/”>http://www.crestechsoftware.com/</a>

For discussion FORUM
<a href=”http://www.crestechsoftware.com/forum”>http://www.crestechsoftware.com/forum</a>

Blog at WordPress.com.