COOKIES: By using this website you agree that we can place Google Analytics Cookies on your device for performance monitoring. |
University of Cambridge > Talks.cam > Computer Laboratory Programming Research Group Seminar > Logical Testing: Hoare-style Specification Meets Executable Validation
Logical Testing: Hoare-style Specification Meets Executable ValidationAdd to your list(s) Download to your calendar using vCal
If you have a question about this talk, please contact Boris Feigin. Software is often tested with unit tests, in which each procedure is executed in isolation, and its result compared with an expected value. Individual tests correspond to Hoare triples used in program logics, with the pre-conditions encoded into the procedure initializations and the post-conditions encoded as assertions. Unit tests for procedures that modify structures in-place or that may terminate unexpectedly require substantial programming effort to encode the postconditions, with the post-conditions themselves obscured by the test programming scaffolding. The correspondence between Hoare logic and test specifications suggests directly using logical specifications for tests. The resulting tests then serve the dual purpose of a formal specification for the procedure. We show how logical test specifications can be embedded within Java and how the resulting test specification language is compiled into Java; this compilation automatically redirects mutations, as in software transactional memory, to support imperative procedures. We also insert monitors into the tested program for coverage analysis and error reporting. This talk is part of the Computer Laboratory Programming Research Group Seminar series. This talk is included in these lists:
Note that ex-directory lists are not shown. |
Other listsSt Catharine's Political Economy Seminars The Cambridge Globalist Trinity Hall Fairtrade FortnightOther talksMathematical applications of little string theory Anthropological engineering and hominin dietary ecology Surrogate models in Bayesian Inverse Problems Macrophage-derived extracellular succinate licenses neural stem cells to suppress chronic neuroinflammation A domain-decomposition-based model reduction method for convection-diffusion equations with random coefficients Optimising the definition of MR-based lung imaging biomarkers Fumarate hydratase and renal cancer: oncometabolites and beyond Computing knot Floer homology Retinal mechanisms of non-image-forming vision Statistical Methods in Pre- and Clinical Drug Development: Tumour Growth-Inhibition Model Example Speculations about homological mirror symmetry for affine hypersurfaces Nuclear fuel manufacture at Westinghouse Springfields past, present and future |