A Practical Guide to Testing Object-Oriented Software by John D. McGregor

By John D. McGregor

A realistic consultant to trying out Object-Oriented software program makes a speciality of the real-world concerns that come up in making plans and enforcing potent trying out for object-oriented and component-based software program improvement. It indicates how checking out object-oriented software program differs from checking out procedural software program and highlights the original demanding situations and possibilities inherent in object-oriented software program trying out. The authors exhibit how object-oriented software program improvement permits trying out to be built-in into each one level of the method - from defining requisites to process integration - leading to a smoother improvement procedure and the next finish caliber. As they stick to this strategy, they describe what to check at each one level in addition to supply experienced-based checking out ideas. you can find details on such vital issues as: trying out research and layout types, together with settling on try instances to lead layout inspections trying out parts, frameworks, and product strains The checking out demanding situations of inheritance and polymorphism how you can devise an efficient trying out approach trying out periods, together with developing a attempt driving force and try out suites trying out item interactions, masking sampling try out instances, off-the-shelf elements, protocol checking out, and try out styles trying out type hierarchies, that includes subclass attempt requisites checking out allotted items, together with threads, lifestyles cycle checking out, and net server trying out trying out structures, with details on rigidity, lifestyles cycle, and function trying out One complete instance runs in the course of the e-book to illustrate trying out suggestions for every degree of improvement. moreover, the ebook highlights vital questions that testers should still ask whilst confronted with particular checking out initiatives. The authors recognize that trying out is usually considered as an important evil, and that assets allotted to trying out are frequently constrained. With that during brain, they current a beneficial repertoire of checking out thoughts from that you would be able to pick out those who suit your funds, time table, and wishes.

Show description

Read or Download A Practical Guide to Testing Object-Oriented Software PDF

Best object-oriented software design books

The unified process. Elaboration Phase

Is the Unified procedure the be all and finish all average for constructing object-oriented component-based software program? Scott Ambler does not imagine so. This booklet is one in a four-volume sequence that provides a severe evaluate of the Unified procedure -- designed to p
This first quantity of a four-book sequence promises a pragmatic method of defining, validating, and base-lining the structure for a procedure. This sequence is designed to fill the space among concept and perform with a software program technique that is going past the UP with info of improvement and construction. Fill the space among conception and perform! enforce a software program technique that is going past the UP with info of improvement and construction. You get a master's selection of most sensible practices from software program improvement journal specialists. This quantity provides a realistic method of defining, validating, and base-lining the structure for a method.

Java in a nutshell: a desktop quick reference

For people that locate that Javadoc difficult to learn (like me) or should not "always on" the net, this can be a nice replacement. the 1st few chapters are fairly - brief, candy and to the purpose - a pass among Javadoc and a cookbook and is sort of readable.

UML Applied: A .NET Perspective

UML utilized: A . web standpoint is the 1st ebook to ascertain the 2 worlds of Unified Modeling Language (UML) and . web simultaneously. The center of UML utilized: A . web standpoint is a suite of confirmed, hands-on, team-oriented routines that may have the reader fixing real-world issues of UML swifter than whilst utilizing the other approach—often in lower than an afternoon.

Pro Android Games (L Edition)

Combining actionable, real-world resource code with pix, seasoned Android video games, 3rd version indicates you ways to construct extra refined and addictive Android online game apps with minimal attempt. Harness the ability of the most recent Android five. zero SDK to convey numerous mythical, action-packed notebook video games to the Android platform.

Extra info for A Practical Guide to Testing Object-Oriented Software

Example text

The following are the functions of inclusion polymorphism viewed from a testing perspective: • Inclusion polymorphism allows systems to be extended incrementally by adding classes rather than modifying existing ones. Unanticipated interactions can occur in the extensions. • Inclusion polymorphism allows any operation to have one or more parameters of a polymorphic reference. This increases the number of possible kinds of actual parameters that should be tested. • Inclusion polymorphism allows an operation to specify replies that are polymorphic references.

13. An application analysis class diagram for Brickles You might expect to see a Mouse class in the diagram. We chose to omit it because the mouse is the mechanism by which a paddle can be moved. However, you could use any input pointing device, or even the arrow keys on a keyboard. We chose to make those considerations in design. Within this design, Sprite, MovableSprite, and StationarySprite are abstract classes indicated in the diagram by italicized names. [15] A movable sprite is a sprite that can move around in a play field while a stationary sprite cannot move.

To achieve this, we use buddy testing in which one developer is assigned to unit test the code of another developer.

Download PDF sample

Rated 4.32 of 5 – based on 32 votes