[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Guile unit test framework
From: |
Jan Wedekind |
Subject: |
Re: GNU Guile unit test framework |
Date: |
Thu, 03 Dec 2015 23:17:27 +0000 |
User-agent: |
K-9 Mail for Android |
I am currently using guile-tap [1] which generates output for Automake TAP
(Test Anything Protocol). It does not provide mocking though. One could have a
look at how Clojure/Midje for that.
[1] https://github.com/wedesoft/guile-tap/blob/master/README.md
On December 3, 2015 2:24:51 PM GMT, "Jan Synáček" <address@hidden> wrote:
>On Thu, Dec 3, 2015 at 3:12 PM, Thompson, David
><address@hidden> wrote:
>> On Thu, Dec 3, 2015 at 8:54 AM, Jan Synáček <address@hidden>
>wrote:
>>>
>>> does a unit test framework for GNU Guile exist? Something like
>>> "unittest" for Python for example.
>>
>> Guile comes with SRFI-64, a unit testing specification. See:
>> http://srfi.schemers.org/srfi-64/srfi-64.html
>>
>> Here's a "real world" example of its use from the Guix project:
>> http://git.savannah.gnu.org/cgit/guix.git/tree/tests/packages.scm
>
>I *knew* I saw it somewhere:)
>
>Thank you!
--
Jan Wedekind
http://www.wedesoft.de/