Automated instrumentation of contracts and scenarios for requirements validation in .net

  • Authors:
  • Dave Arnold;Jean-Pierre Corriveau

  • Affiliations:
  • Carleton University, Ottawa, ON, Canada;Carleton University, Ottawa, ON, Canada

  • Venue:
  • Proceedings of the 3rd international workshop on Automation of software test
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

During the development of an object-oriented reactive system, scenarios (such as UML's use cases) may be used for the elicitation of functional and non-functional requirements. The contribution of this paper is the overview of a framework for the specification of a testable requirements model and the automated instrumentation of this model into an implementation in order to validate the model's requirements against this implementation. Our testable model takes the form of contracts and is grounded in the notions of scenarios and responsibilities. More precisely, the validation of the requirements of this model depends on a user binding elements of contracts to actual procedures within a candidate implementation, (that also supplies test data). Once this is done, these requirements are validated against an execution. This validation consists in the invocation of both static and dynamic checks, the matching of scenarios, and the capture and evaluation of metrics for an execution. Metric evaluation allows our framework and testable model to also consider non-functional requirements.