Teaching formal methods lite via testing

Citation
M. Utting et S. Reeves, Teaching formal methods lite via testing, SOFTW TEST, 11(3), 2001, pp. 181-195
Citations number
31
Categorie Soggetti
Computer Science & Engineering
Journal title
SOFTWARE TESTING VERIFICATION & RELIABILITY
ISSN journal
09600833 → ACNP
Volume
11
Issue
3
Year of publication
2001
Pages
181 - 195
Database
ISI
SICI code
0960-0833(200109)11:3<181:TFMLVT>2.0.ZU;2-3
Abstract
A new style of formal methods course is described, based on a pragmatic app roach that emphasizes testing. The course introduces students to formal spe cification using Z, and shows how formal specification and testing can bene fit each other, in both the validation and verification phases. It uses a t ools-based approach, with practical work that reinforces formal specificati on techniques as well as traditional software engineering skills, such as u nit and system testing, inspection and defensive programming with assertion s. The two main results are to identify several practical uses of formal sp ecifications that are not widely practised or taught, and to demonstrate th at teaching them results in a more interesting and relevant formal methods course. Copyright (C) 2001 John Wiley & Sons, Ltd.