Continuing on from ideas in: Are there any provable real-world languages?
I don\'t know about you, but I\'m sick of writing code that I can\'t guarantee.
Have you had a look at quickcheck? It may offer some of the things you need.
http://www.haskell.org/haskellwiki/Introduction_to_QuickCheck