Home » Archives

Content tagged with: BDD

[7 Mar 2012 | No Comment | ]

Behaviour Driven Development (BDD) is a different way of approaching the “how to validate your code” problem. It aims to help focus development on the delivery of prioritized, verifiable business value by providing a common vocabulary. This video discusses various ways to try out BDD in Python, from the periodically maligned doctests to simple unittest module usages to more specialized modules.

[27 Feb 2012 | No Comment | ]

RSpec is an open source Behavior-Driven Development (BDD) ruby package that lets you build a specification alongside your software. BDD is an approach to software development that combines Test-Driven Development (TDD), Domain Driven Design and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation, focusing on the documentation and design aspects of TDD.

[20 Feb 2012 | No Comment | ]

Codeception is a Behavior Driven Development (BDD) testing PHP framework. It aims to provide an original way to write acceptance, functional and unit tests. It uses a scenario approach where you declare what you are doing and what results you expect from your tests. The first post introduces the tool and explains how to write tests with Codeception. A second post digs deeper into the code and shows you how Codeception could be used for unit testing.

[31 Jan 2012 | No Comment | ]

Cucumber-JVM is a pure Java implementation of Cucumber, a software testing tool that support Behavior Driven Development with plain text specifications and unobtrusive automation in Ruby. Cucumber-JVM supports Clojure, Groovy, Java, JavaScript (Rhino interpreter), Python (Jython interpreter), Ruby (JRuby interpreter) and Scala. It is now written in a native Java-API, which compiles down to fast JVM bytecode. It enables many JVM capabilities and makes it even easier to integrate with your Java applications. Note from the Editor: we had the regret to realize after publication that there is no sound …

[7 Nov 2011 | One Comment | ]

Behavior-driven development (BDD) is similar to test-driven development (TDD), but the tests for BDD are written in an easier-to-understand language so that developers and clients alike can clearly understand what is being tested. In this article based on chapter 2 of Rails 3 in Action, the authors discuss two tools for BDD: RSpec and Cucumber.

[30 Sep 2011 | No Comment | ]

Thucydides is an open source tool that lets you use WebDriver-based unit or Behavior Driven Development (BDD) tests to write more flexible and more reusable WebDriver-based tests, and also to generate documentation about your acceptance tests. In this blog post, John Ferguson Smart explains how you can use Spring dependencies in your acceptance tests with Thucydides if you need to run your acceptance tests against an embedded web server.

[18 Aug 2011 | No Comment | ]

This blog post explains how to use Specflow, Moq and Microsoft Unit Testing framework to implement Behavior Driven Development in a .NET context. The author used AAA (Arrange-Act-Assert) and GWT (Given-When-Then) patterns in his code. They are clearly and easily to understand and become standard when you write unit testing and mocking.

[26 Jul 2011 | No Comment | ]

This video explains how to create Spock testing specifications. It covers creating basic when/then blocks, given/when/then blocks, expect/where blocks, and data tables.

[10 May 2011 | No Comment | ]

In this blog post, Adam Boas discusses the danger of using Behavior Driven Development (BDD) tools like Cucumber to build an automated regression suite.

[26 Apr 2011 | No Comment | ]

This video shows how easy it is to use RSpec 2 when developing Ruby Rack applications.