Behavior-Driven Development (BDD) agile testing articles, tools, tutorials and videos.

BDD for PHP with Codeception

February 20, 2012 0

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.

Cucumber with JVM Improvements

January 31, 2012 0

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 on this video. We should have tested this before ;o(

Behavior-Driven Development for Ruby on Rails

November 7, 2011 1

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.

Acceptance Testing with Thucydide and Spring

September 30, 2011 0

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.

BDD with Specflow, Moq and Microsoft Unit Testing framework

August 18, 2011 0

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.

1 4 5 6 7