Re: unit tests and related matters
Ross Boylan <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Organization | UCSF |
| Message-ID | <[email protected]> |
On Saturday, July 20, 2013 03:14:25 PM Nicos Angelopoulos wrote: > Dear Ross, > > You will be better off installing a newer version. Is there any easy way to tell how the versions differ? I looked around the web site and source; all I found was http://www.swi- prolog.org/git/pl.git/tree/HEAD:/ReleaseNotes which has release notes for 5.10. The mail archive turned up some relase announcements, which do show changelogs, so they must be somewhere. Something higher level would be good; the release notes in the emails seem to cover differences from the immediately preceding release only. Did you mean better off in general, or specifically for testing? I see from Michael's post (thanks) that some tools require a newer version of SWI prolog. > There is an SWI PPA and dependencies for building from sources. I think you're saying to get the source package and then build it on Debian, right? I know Ubuntu is a Debian derivative, but I'm not sure how reliable it is to use on Debian. > > Have you seen: > http://www.swi-prolog.org/build/Debian.html No I hadn't. It's a little odd the Debian version is so old, since Wheezy was just released. There is a newer version in unstable, 6.2.6. Thanks for the tips. Ross > ? > > Regards, > > Nicos Angelopoulos > --- > http://bioinformatics.nki.nl/~nicos/ > > On Sat, 20 Jul 2013 14:09:23 -0700 > > Ross Boylan <[email protected]> wrote: > > What's the best way to do unit tests? > > > > Searching led to http://www.swi-prolog.org/pldoc/package/plunit.html, but > > it doesn't seem to come with my installation or be available as a Debian > > package. I'm using Debian wheezy amd64, which has SWI Prolog 5.10.4. > > > > Eventually I found http://www.swi-prolog.org/git/packages/plunit.git. > > > > If that is appropriate to use, should I go with the current version, or > > the one tagged for V5.10.4? > > > > I assume I then need to put that in an appropriate spot, probably compile > > it, and make sure prolog knows how to find it. Any tips on that would > > be great, otherwise I can probably figure it out from the fine manual. > > > > It would be nice if this kind of stuff were more obvious to the > > uninitiate. Possibilities include > > *on the front page "a rich set of contributed modules" with a link (yes I > > know the contrib link is on the left; that's how I eventually found > > them). *A FAQ entry about how to locate, get and use contributed > > libraries, and possibly other stuff on git. > > * Expand http://www.swi-prolog.org/git.html to include 3rd party > > libraries. * http://www.swi-prolog.org/pldoc/package/plunit.html > > describes how to get the library, or at least links to the software. > > > > Thanks. > > Ross Boylan > > _______________________________________________ > > SWI-Prolog mailing list > > [email protected] > > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog