Guile Pull Request Wishlist

2015-12-03 Thread Amirouche Boubekki
Héllo guilers! As you may know each year at the end year there is http://24pullrequests.com/ going. The principle is simple create 24 pull requests one per day until Xmas. Anyway, I though this would be a nice occasion for guilers to share their contributions wishlist. So here is mine: #

GNU Guile unit test framework

2015-12-03 Thread Jan Synáček
Hello, does a unit test framework for GNU Guile exist? Something like "unittest" for Python for example. Cheers, -- Jan Synáček

Re: GNU Guile unit test framework

2015-12-03 Thread Thompson, David
On Thu, Dec 3, 2015 at 8:54 AM, Jan Synáček 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

Re: GNU Guile unit test framework

2015-12-03 Thread Jan Synáček
On Thu, Dec 3, 2015 at 3:12 PM, Thompson, David wrote: > On Thu, Dec 3, 2015 at 8:54 AM, Jan Synáček wrote: >> >> does a unit test framework for GNU Guile exist? Something like >> "unittest" for Python for example. > > Guile comes with SRFI-64, a

Re: GNU Guile unit test framework

2015-12-03 Thread Amirouche Boubekki
Le 2015-12-03 14:54, Jan Synáček a écrit : Hello, does a unit test framework for GNU Guile exist? Something like "unittest" for Python for example. The unit test framework is srfi-64 [0]. You can find an example use in 8sync [1]. Mind the fact that it doesn't use `test-group` which can be

Re: GNU Guile unit test framework

2015-12-03 Thread Christopher Allan Webber
Amirouche Boubekki writes: > Le 2015-12-03 14:54, Jan Synáček a écrit: >> Hello, >> >> does a unit test framework for GNU Guile exist? Something like >> "unittest" for Python for example. > > The unit test framework is srfi-64 [0]. You can find an example use in > 8sync [1]. Mind the fact that

Re: GNU Guile unit test framework

2015-12-03 Thread Amirouche Boubekki
Le 2015-12-03 16:42, Christopher Allan Webber a écrit : Amirouche Boubekki writes: Le 2015-12-03 14:54, Jan Synáček a écrit: Hello, does a unit test framework for GNU Guile exist? Something like "unittest" for Python for example. The unit test framework is srfi-64 [0]. You can find an

Re: GNU Guile unit test framework

2015-12-03 Thread Jan Wedekind
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