raymyers / gilded-rose-dafny

Gilded Rose refactoring Kata in the Dafny programming/verification language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gilded Rose in Dafny

Code for the video Refactoring With Proofs on Craft vs Cruft.

For background on the Gilded Rose Kata, see Emily Bache's repo.

This version has been ported to Dafny for practice with program proofs.

Branches

main - Ported code and main method to replicate the golden file specification - Basic pre/post conditions added, a good starting point solution - Full formal specifications, and implementation replaced with pure functions

Development

It's recommended to install dotnet Dafny and its VS Code extension. Then you can get proof feedback within in the editor.

Testing

make test

About

Gilded Rose refactoring Kata in the Dafny programming/verification language

License:MIT License


Languages

Language:Dafny 93.9%Language:Makefile 6.1%