unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Jan Wedekind <jan@wedesoft.de>
To: "Jan Synáček" <jan.synacek@gmail.com>,
	"Thompson, David" <dthompson2@worcester.edu>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: GNU Guile unit test framework
Date: Thu, 03 Dec 2015 23:17:27 +0000	[thread overview]
Message-ID: <5c65dadd-1b5d-4e04-8fbd-57f94b4a557a@email.android.com> (raw)
In-Reply-To: <CACA+5f2fORyP1AH+=EPu1RxWvrnsZPqEfYnZQRho4Y_1=Hk-wg@mail.gmail.com>

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" <jan.synacek@gmail.com> wrote:
>On Thu, Dec 3, 2015 at 3:12 PM, Thompson, David
><dthompson2@worcester.edu> wrote:
>> On Thu, Dec 3, 2015 at 8:54 AM, Jan Synáček <jan.synacek@gmail.com>
>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/



  reply	other threads:[~2015-12-03 23:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 13:54 GNU Guile unit test framework Jan Synáček
2015-12-03 14:12 ` Thompson, David
2015-12-03 14:24   ` Jan Synáček
2015-12-03 23:17     ` Jan Wedekind [this message]
2015-12-03 14:30 ` Amirouche Boubekki
2015-12-03 15:42   ` Christopher Allan Webber
2015-12-03 16:02     ` Amirouche Boubekki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c65dadd-1b5d-4e04-8fbd-57f94b4a557a@email.android.com \
    --to=jan@wedesoft.de \
    --cc=dthompson2@worcester.edu \
    --cc=guile-user@gnu.org \
    --cc=jan.synacek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).