Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
OOD Models
9/18/16
Outline
1.Object oriented Concept.
2.Object oriented testing : Introduction.
3.Testing of OOA and OOD Models
(i) Correctness of OOA and OOD models.
(ii) Consistency of OOA and OOD models.
4. Object Oriented Testing Techniques
(i) Unit testing or class testing.
(ii) Integration Testing.
(iii) Validation Testing.
5.Object oriented Testing Methods.
(i) Testing methods at class level.
(ii) Testing methods at Inter Class level.
6.UML Model Based Testing for Object Oriented System.
7.Conclusion
8.References
9/18/16
Object
Class
Encapsulation
Polymorphism
Inheritance
9/18/16
9/18/16
9/18/16
Polymorphism
9/18/16
9/18/16
9/18/16
9/18/16
10
11
12
9/18/16
13
9/18/16
14
15
CRC Cards
To assess consistency, each class and its connections to
other classes should be examined. The class-responsibility
collaboration model and an object-relationship diagram can
be used to facilitate this activity.
The CRC model is composed on CRC index cards. Each CRC
card lists the class name, its responsibilities (operations),
and its collaborators (other classes to which it sends
messages and on which it depends for the accomplishment
of its responsibilities).
The collaborations imply a series of relationships (i.e.,
connections) between classes of the OO system. The objectrelationship model provides a graphic representation of the
connections between classes. All of this information can be
obtained from the OOA mode
9/18/16
16
9/18/16
17
9/18/16
18
19
20
21
9/18/16
22
23
9/18/16
24
25
26
9/18/16
27
9/18/16
28
9/18/16
29
9/18/16
30
9/18/16
31
9/18/16
32
33
9/18/16
34
9/18/16
35
9/18/16
36
37
9/18/16
38
9/18/16
39
9/18/16
40
9/18/16
41
9/18/16
42
7.CONCLUSION
In Object Oriented environment the main
troublemakers that cause problems for testing are
Inheritance, Polymorphism and Encapsulation. We
studied the problems that are created by these
elements. A detailed study of the testing techniques
available to test programs developed under OO
environment have been made. Some of the
specialized techniques available to test OO software
have also been discussed.
9/18/16
43
8.References
Software Engineering: A Practitioners Approach, 7/e
by Roger S. Pressman
Prashant ,Int.J.Computer Technology &
Applications,Vol 3 (2), 746-749
Clarence J M Tauro, Testing Object-Oriented
Software Systems: A Survey of Steps and Challenges
9/18/16
44
Thank You
9/18/16
45