Property Based Testing Tool

Tonight I stubled upon PropEr, a Property based testing tool for Erlang. It seems a very smart idea: instead of writing a single unit test, you write a set of properties your code must satisfy.

From the site:

A property-based testing tool, when supplied with this information, should randomly produce progressively more complex valid inputs, then apply those inputs to the program while monitoring its execution, to ensure that it behaves according to its specification, as outlined in the supplied properties.

QuickCheck is the father of PropEr: give a try to thw wikipedia page to see if your language is supported and start a new way of doing…Test Driven Developement!

Leave a Reply