topics covered: software testing software testing levels of testing levels of testing unit testing...

12
Testing

Upload: matilda-short

Post on 05-Jan-2016

234 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Testing

Page 2: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Topics Covered:

Software testing

Levels of testing

Unit testing

Integration testing

System testing

Acceptance testing

Page 3: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Software Testing

Software testing is the last but necessary and important activity of

software development process.

It is the costliest activity. So proper strategy is required.

Software testing strategy provides a framework or set of activities

which are essential for the success of the project.

Testing is usually relied upon to detect the faults remaining from

earlier stages.

Page 4: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Levels of Testing

1. UNIT TESTING

2. INTEGRATION TESTING

3. SYSTEM TESTING

4. ACCEPTING TESTING

Page 5: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Client Acceptance

Needs Testing

Requirements System

Testing

Design Integration

Testing

Code Unit

Testing

Levels of testing

Page 6: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Unit testing

The first level of testing is called unit testing. In this different modules

are tested against the specifications produced during design for the

modules. It is done specially for verification of code produced during

the coding phase. Hence the goal is to test the internal logic of the

module. It is usually done by the programmer of the code.

Page 7: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Integration testing

The second level of testing is integration testing. In this many unit

tested modules are combined into subsystems, which are then tested.

The goal here is to see if the modules can be integrated properly.

Hence the emphasis is on testing interfaces between modules. This

activity tests the design.Following types of errors may arise during the integration of modules:1. Data can be lost across an interface.2. One module can have adverse affect on other modules.

Page 8: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

3. Modules when combined, may not produce the desired major function.

4. Individually acceptable imprecision may be magnified to unacceptable levels.

5. Global data structures can create problem.

Each time a new module is added as a part of integration testing, the

software changes. Therefore regression testing is needed every time a

new module is added.

Page 9: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

System testing

The next level of testing is system testing. In this entire software is

tested. The reference document for this process is the requirements

document, and the goal is to see if the software meets its requirements.

This is essentially a validation exercise. System testing involves the

following:

Recovery testing: is designed to examine how easily and completely

the system can recover a system failure.

Page 10: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Security testing: it attempts o verify that protection mechanism built

into a system will protect it from unauthorized access.

Stress testing: it is designed to control program with abnormal

situations. This testing is normally used to understand the upper limits

of capacity within the application.

Performance testing: it is designed to test the run-time performance of

software within the context of an integrated system. Performance

testing occurs throughout all steps in the testing process.

Page 11: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Acceptance testing

The next level is acceptance testing. Acceptance testing is sometimes

performed with realistic data of client to demonstrate the working of

software. Here testing focuses on the external behavior of the system.

Mostly functional testing is performed at these levels.

Page 12: Topics Covered: Software testing Software testing Levels of testing Levels of testing  Unit testing Unit testing Unit testing  Integration testing Integration

Thanks!!