题名 |
Formal Specifications Guide Development and Testing of Software Components |
DOI |
10.6180/jase.1999.2.1.01 |
作者 |
R. E. Davis |
关键词 |
formal methods ; formal specification ; Larch ; LSL ; testing ; software components ; abstract data types ; Ada |
期刊名称 |
淡江理工學刊 |
卷期/出版年月 |
2卷1期(1999 / 06 / 01) |
页次 |
1 - 10 |
内容语文 |
英文 |
英文摘要 |
Formal specifications provide many benefits to software developers. It has long been recognized that formal methods are required in safety critical applications, where it may even be necessary to perform formal proofs of correctness to increase confidence in the reliability of the system. However, not all uses of formal methods require the same level of detail, or even formality. We can design formal specifications of software components, and then use the specifications in an informal way to guide the development of an implementation as well as to provide a blueprint for testing of the finished component. In this paper we use the Larch Shared Language (LSL) to specify abstract data types, and show how the specification can be used both to guide implementation in Ada95 and to develop a testing plan. This approach increases both the quality of documentation and confidence in the correctness of reusable components providing abstract data structures. |
主题分类 |
基礎與應用科學 >
基礎與應用科學綜合 工程學 > 工程學綜合 工程學 > 工程學總論 |
被引用次数 |