Академический Документы
Профессиональный Документы
Культура Документы
e.g. Client PC: P IV 1.9 GHz 256 RAM, 20 GB HDD, Windows 2000 OS
Server PC: P III 866 MHz, 512 MB RAM, 8.6 GB HDD, Windows NT
server / Windows 2000 server
processor, 128 KB RAM, 20GB HDD
Backend Software: SQL Server 2000/Oracle 9i
etc.
Positive Testing
Testing which attempts to show that a given module of an application
does what it is supposed to do.
Negative Testing
Testing which attempts to show that the module does not do anything
that it is not supposed to do.
Boundary analysis
Testing which check for boundary conditions as set for the particular field
or value
What is a Unit?
Unit is the smallest testable piece of software. e.g. a class, a
module or an API.
Unit Testing is the lowest level of testing performed during
software development, where individual units of software
are tested in isolation from other parts of the Program.
Unit Testing is not intended to be a one-time test to aid bug
free coding. Unit tests have to be repeated whenever
software is modified or used in a different environment.
GOAL : To confirm that the unit is correctly coded and meets
its ‘intended’ functionality.
• Bottom Up Integration
• Top Down Integration
• Variations of the above
Exercise:
-Make Groups
- Identify
positive and
negative test
cases for the
given screen
- Write test
cases to check
boundary
conditions
If the software developed is for use by many customers, then one cannot
use Acceptance Testing. Alternatively, Alpha and Beta Testing is
used to uncover errors.
In Alpha Testing, test is done at the Developer site by a Customer. The
Customer uses the software, with the developer ‘looking over the
shoulder’ and recording errors, usage problems and providing
solutions.
Alpha Testing is performed in a Controlled environment.
In Beta Testing, test is done at one or more Customer sites by ‘End
Users’. The Customer records and reports errors and usage
problems at regular intervals.
Beta Testing is performed in an environment NOT controlled by the
Developer.
Protection notice / Copyright notice
Page 20 Sep-07 P&Q For Internal Use Only
Test Methodologies
Informal:
• Incremental coding
Static Analysis:
• Hand execution: Reading the source code
• Code Inspection (formal presentation to others)
• Automated Tools checking for syntactic and
semantic errors
Dynamic Analysis:
• Black-box testing (Test the input/output
behavior)
• White-box testing (Test the internal logic of the
subsystem or object)
Protection notice / Copyright notice
Page 21 Sep-07 P&Q For Internal Use Only
Test Strategies