Testing Web Applications

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 18

TESTING WEB

APPLICATION
S

CHAPTER – 7
TESTING TERMINOLOGY
TESTING OBJECTIVES
TEST LEVELS
TEST APPROACHES
TEST DIMENSIONS
Testing WebApps
10

 Testing is the process of exercising a WebApp


with the intent of finding (and ultimately
correcting) errors.
 Tests must be design to uncover errors in
WebApps that are implemented in:
 different operating systems
 browsers [or other interface devices such as set-
top boxes, personal digital assistants (PDAs), and
mobile phones]
 hardware platforms
 communications protocols
These slides are designed to accompany Web Engineering: A
 “backroom”
Practitioner’s applications
Approach (McGraw-Hill 2008) by Roger Pressman and
David Lowe, copyright 2008
TEST SPECIFICS IN WebE
TESTING CLIENT PAGES
TESTING SERVER PAGES
TESTING SECURITY
OTHER TESTING METHODS
CuTest: C Unit Testing Framework

Overview
CuTest is a unit testing library for the C language. It can be
used to do Extreme Programming and Test-First
Development in the C language. It's a fun and cute library
that will make your programming fun and productive.
Benefits
 Lower Defects. The tests ensure that your code keeps

working as you make small changes in it.


 Faster Debugging. The tests tell you which subroutine is

broken. You avoid spending hours trying to figure out


what's broken.
CuTest: C Unit Testing Framework
 Development Speed. You trust your old code and can
keep adding to it without worrying about bad interactions.
If there is a bad interaction the tests will catch it.
 Permanent Bug Fixes. If every time a bug is reported you
write a quick test, you will guarantee that the bug never
reappears again.
 Fun. As your bug count drops you will begin to enjoy
programming like you've never done before. Running the
tests every few minutes and seeing them pass feels good.
CuTest: C Unit Testing Framework
Features
 Small. Consists of a single .c and .h file.

 Easy to Deploy. Just drop the two files into your source

tree.
 Highly Portable. Works with all major compilers on

Windows (Microsoft, Borland), Linux, Unix, PalmOS.


 Open Source. You can extend it to add more functionality.

The source can be invaluable if you are trying to trace a


test failure.
 Cuteness. Of all the testing frameworks CuTest has the

cutest name :-)

You might also like