Testing Object-Oriented Systems
Testing is a continuous activity during software development. In object-oriented systems, testing encompasses three levels, namely, unit testing, Integration testing, and system testing.
- Unit Testing: In unit testing, the individual classes are tested. It is seen whether the class attributes are implemented as per design and whether the methods and the interfaces are error-free. Unit testing is the responsibility of the application engineer who implements the structure.
- Integration Testing: This involves testing a particular module or a subsystem and is the responsibility of the subsystem lead. It involves testing the associations within the subsystem as well as the interaction of the subsystem with the outside. Subsystem tests can be used as regression tests for each newly released version of the subsystem.
- System Testing: System testing involves testing the system as a whole and is the responsibility of the quality-assurance team. The team often uses system tests as regression tests when assembling new releases.
Object-Oriented Testing Techniques
Grey Box Testing
The different types of test cases that can be designed for testing object-oriented programs are called grey box test cases. Some of the important types of grey box testing are −
State model based testing − This encompasses state coverage, state transition coverage, and state transition path coverage.
- Use case based testing − Each scenario in each use case is tested.
- Class diagram based testing − Each class, derived class, associations, and aggregations are tested.
- Sequence diagram based testing − The methods in the messages in the sequence diagrams are tested.
Techniques for Integration Testing
The two main approaches of Integration testing are −
- Thread based testing − All classes that are needed to realize a single use case in a subsystem are integrated and tested.
- Use based testing − The interfaces and services of the modules at each level of hierarchy are tested. Testing starts from the individual classes to the small modules comprising of classes, gradually to larger modules, and finally all the major subsystems.
Categories of System Testing
- Alpha testing − This is carried out by the testing team within the organization that develops software.
- Beta testing − This is carried out by select group of co-operating customers.
- Acceptance testing − This is carried out by the customer before accepting the deliverables.
Visit My Blog: http://vinay-kumar-saini.blogspot.in/
Great Article… I love to read your qa and testing services articles because your writing style is too good, its is very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
ReplyDeletegreat article on the point and awesome
ReplyDeletegreat
ReplyDelete