[m-users.] Basic Unit Test Framework

Julien Fischer jfischer at opturion.com
Mon Jul 13 10:36:47 AEST 2015



On Mon, 13 Jul 2015, Paul Bone wrote:

> On Sat, Jul 11, 2015 at 04:16:46PM -0500, Charles Shuller wrote:
>> Hello all,
>>
>>
>> I started on a unit test framework, and would very much appreciate a code
>> review of any level of formality:
>>
>> https://bitbucket.org/charles_shuller/mercury_unit/overview
>>
>> You can see how tests are written and executed in the tests directory.
>>
>>
>> Also, while I wrote that mostly for my own edification, if anyone knows of
>> a unit test framework that already exists, I'd really appreciate hearing
>> about it.
>>
>
> https://github.com/Mercury-Language/mercury/tree/master/extras/quickcheck
>
> I havn't used this so I can't say if it's good or works at all.  It appears
> to be a Mercury version of the Haskell Quickcheck tool.

Due to changes in the language since it was written, it no longer works.

Cheers,
Julien.



More information about the users mailing list