开发者

What's a good unit test framework for Common Lisp projects?

I need to write a unit test suite for a project I am developing in my spare time. Being a CL newbie I was overwhelmed by the amount of choices for a CL implementation, I spent quite 开发者_如何学JAVAsome time to choose one. Now I am facing exactly the same thing with unit test frameworks.

A quick glance at http://www.cliki.net/test%20framework shows 20 unit test frameworks! Choice is good but for a novice like me this can be a bit confusing and given the number of frameworks it would be painful to try them all.

I would like to use a framework which:

  • Is reasonably well maintained
  • Easy to use but with some degree of flexibility
  • Offers some sort of integration with Emacs (or it is possible to easily integrate it with Emacs)
  • It is possible to integrate it with git post-commit hooks
  • It is possible to integrate it with a continous integration system (such as buildbot)

What are your experiences in this field?


Did you see the link to http://aperiodic.net/phil/archives/Geekery/notes-on-lisp-testing-frameworks.html off the Test framework comparison link on that cliki page you mention? Phil gives his impressions, and what it looks like to use the various test frameworks.


I personally prefer lisp-unit. It's simple to use and has most of the common types of tests.

http://www.cliki.net/lisp-unit

http://repo.or.cz/w/lisp-unit.git/blob_plain/master:/documentation/lisp-unit.html

I don't think it has any integration with post-commit hooks or buildbot built in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜