From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: TDD and BDD for emacs-lisp Date: Thu, 28 Apr 2016 06:50:04 +0000 (UTC) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1461826539 25309 80.91.229.3 (28 Apr 2016 06:55:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 06:55:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 08:55:30 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avfrF-00058g-Lt for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 08:55:29 +0200 Original-Received: from localhost ([::1]:46845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avfrF-0004U9-31 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 02:55:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avfqx-0004Qe-Fn for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 02:55:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avfqu-0005EA-8v for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 02:55:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avfqu-0005E6-26 for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 02:55:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1avfqr-00053Z-U4 for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 08:55:06 +0200 Original-Received: from 178.213.66.2 ([178.213.66.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2016 08:55:05 +0200 Original-Received: from xavier by 178.213.66.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2016 08:55:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 178.213.66.2 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109813 Archived-At: Hello, for my next project (an IM tool), I would like to try to embrace TDD/BDD methodology. I have never done this before and I even do not know the way I will have to change my coding habits. I have looked here and there to see if it is something emacs-lisp hackers do, it seems that it has not spread much. So, what tool(s) do you use if you do your devs using TDD/BDD ? Do you have simple examples to share ? Is it recommended to do both ? Where does one shine more than another ? etc. (I will probably have to read tons of documentation but that's fine). With ERT shipped with GNU emacs >= 24, there is no reason not to use it but for BDD, I can see at least 2 (good) tools: ecukes and buttercup. Is there any comparison chart somewhere ? Any help would be appreciated to start using TDD/BDD. Thank you Xavier