Design by Contract Model of a Software Component - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

Design by Contract Model of a Software Component

Description:

rescue. Rescue Clause. What data is necessary. to recognize an event? What is the valid range ... Chapter 8: Software Engineering Fourth Edition, Ian ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 3
Provided by: johneb6
Category:

less

Transcript and Presenter's Notes

Title: Design by Contract Model of a Software Component


1
Design by Contract Model of a Software Component
Obligate the Environment
What data is necessary in response to the
event? What is the valid range of attributes for
each data element? Define the acceptable
states of the system after a components
operations are finished.
Precondition Axioms
Error Handler
Signature is require Precondition
do Method Body ensure
Postcondition rescue Rescue Clause
What data is necessary to recognize an
event? What is the valid range of attributes
for each data element? Define only
acceptable conditions for a components
operation to begin.
Postcondition Axioms
Obligate the Component
Error Handler
2
Structured Algebraic Specification
Chapter 8 Software Engineering Fourth Edition,
Ian Sommerville, Addison-Wesley, 1992.
Write a Comment
User Comments (0)
About PowerShow.com