Академический Документы
Профессиональный Документы
Культура Документы
Start Testing-when?
Participations in testing
Customer
User
Developer
Tester
Auditor
Misconception
SDLC Models
Prototype Model
Incremental Model
Spiral Model
V Model
Agile Model
STLC Stages
Requirements Analysis
Test Planning
Test Analysis
Test Design
Test Construction and Verification
Test Execution and Bug Reporting
Final Testing and Implementation
Post Implementation
Requirement
review
Functional
specification
Release For
use
Build
system
Functional
space review
Design
Design
Review
Code
Build
software
CODE
REVIEW
Acceptance
testing
System
testing
Integration
testing
Unit
testing
Verification
Verification also known as quality assurance.
Static testing is done on this.
Walkthrough
Inspection
Technical review
Audit
Validation
Validation typically involves actual
testing and takes place after the
verifications are complete.
Validation determines the correctness
of a final build with respect to its
requirements.
Validation checks whether we are
building the right product.
Levels Of Testing
Unit Testing
Integration Testing
System Testing
User Acceptance Testing
Unit Testing
Unit - smallest testable piece of software.
Unit testing is process of testing the smallest/ individual component of
program.
Unit test is a procedure used to validate that individual unit of source code
is working properly.
Before entering into the unit testing it should be gone through code review.
Tests the functionality of units.
Typically done by the developers and not by testers.
It is typically used to verify control flow, data flow
and memory leak problems.
Functionality testing
Smoke testing
Sanity testing
Usability Testing
Statement coverage
Decision coverage
Condition Coverage
Statement coverage
False
?
True
Condition Coverage
Execute each decision with all
possible outcomes at least once
It requires all cases.
Checks each of the ways
condition can be made true or
false
Condition Coverage
1234
?
1 2
23
?
?
Cyclomatic Complexity
Cyclomatic Complexity
Read A
IF A < 0 THEN
Print ?A negative?
ENDIF
IF A > 0 THEN
Print ?A positive?
ENDIF
Cyclomatic complexity= 3
E-N+2
8-7+2=3