Re:Pyret: A new programming language from the creators of Ra...
by anaphor on Saturday November 09, 2013 @03:17PM
(#6702998)
Have you thought about adding some kind of QuickCheck-ish model where test cases can be randomly generated for various types?
[ Parent
| on HN ]
Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Sunday November 10, 2013 @08:19AM
(#6706329)
Yes, of course, we've thought about it. Equally importantly, we have a "satisfies" keyword for stating checks about properties. (See the example on the Pyret home page.) We use test oracles extensively in teaching; see these two assignments: http://cs.brown.edu/courses/cs019/2012/assignments/sortacle , http://cs.brown.edu/courses/cs019/2012/assignments/oracle .