Using Cucumber for BDD and Agile Acceptance Testing

Published February 18th, 2010 Under Software Testing | Leave a Comment

Cucumber is a tool that can execute plain-text functional descriptions as automated tests. The language that Cucumber understands is called Gherkin. While Cucumber can be thought of as a “testing” tool, the intent of the tool is to support BDD. This means that the “tests” (plain text feature descriptions with scenarios) are typically written before anything else and verified by business analysts, domain experts, etc. non technical stakeholders. The production code is then written outside-in, to make the stories pass. Cucumber itself is written in Ruby, but it can be used to “test” code written in Ruby or other languages including but not limited to Java, C# and Python. Cucumber only requires minimal use of Ruby programming and Ruby is easy, so don’t be afraid even if the code you’re developing in is not Ruby. Gojko will demonstrate how to use Cucumber for Java, .NET and Ruby applications, talk about new Cucumber features and best practices for writing and maintaining Cucumber scenarios.

http://skillsmatter.com/podcast/agile-testing/using-cucumber-for-bdd-and-agile-acceptance-testing

Automated Unit Testing with Palm Mojo SDK

Published January 20th, 2010 Under Software Testing | Leave a Comment

In this webcast we’ll introduce Behavior Driven Development (BDD) and Jasmine (a BDD framework for JavaScript); install Jasmine and add related code to the app to support BDD; discuss how to write a failing test first, then add functionality to make a test pass; and finally we’ll develop a simple webOS application test first, with the Mojo SDK.

Behavior Driven Development & Domain Driven Design

Published January 14th, 2010 Under Agile | Leave a Comment

Dan North gives an overview of Domain Driven Design and Behavior Driven Development then ties them together for a powerful mix.

http://www.infoq.com/presentations/bdd-and-ddd

Narrative Acceptance Tests – A Behaviour Driven Approach

Published December 29th, 2009 Under Software Testing | Leave a Comment

Acceptance Tests elaborate a user story & are essentially behaviour specifications, expressing examples of how the application will actually be used. These should represent customer-intent in terms the customer understands. This session shows developers and testers how to transcribe their understanding of customer intent in a way that makes sense to customers. Using the popular BDD Given/When/Then approach to acceptance tests, participants will learn how to leverage the popular Fit framework to replicate that approach. Alternatives to using Fit, including using code, will also be explored.

http://skillsmatter.com/podcast/agile-testing/narrative-acceptance-tests-a-behaviour-driven-approach

Behaviour-Driven Development

Published December 16th, 2009 Under Agile | Leave a Comment

Behaviour-Driven Development (BDD) started out as a way of teaching Test-Driven Development without getting sidetracked into the complex world of testing. BDD has grown to encompass behaviour at the story level, and is crossing over into the acceptance testing space. This session introduces some of the ideas and vocabulary behind BDD, and demonstrates how you can define acceptance tests from a user perspective as sequences of reusable, executable steps. The intended audience is testers who are looking for effective ways to define and automate their acceptance tests.

How We Build Quality Software at uSwitch.com

Published November 25th, 2009 Under Software Testing | Leave a Comment

This video provides an experience report on how we build quality software at uSwitch.com. Around 9 months ago the development team shifted from having a separate QA team to adopting a whole-team approach for building and delivering software with quality baked in. This talk explains why we made this shift, provide an insight into how we achieved it from a people and process point of view and delve into tooling. It includes:
- Why testing along the production line is better than testing end-of-cycle.
- How we make sure we get thorough acceptance criteria up front, before we start development.
- How we automate execution of acceptance criteria with cucumber and watir.
- How we run these continuously in TeamCity.
- Why we stopped using QTP and Selenium.
- How our developers learnt to think like testers.
- Why we stopped using the words ‘tester’ and ‘testing’.
- The importance of BDD for writing testable code.
- How kanban principles help radiate information on development and provide tracking and reporting on quality.
- Peripheral activities that help us continuously release quickly and confidently.

http://skillsmatter.com/podcast/agile-testing/how-we-build-quality-software-at-uswitch-com

Cucumbered

Published November 11th, 2009 Under Software Testing | Leave a Comment

In this talk from FutureRuby, Joseph Wilk gives an introduction to the BDD framework Cucumber and gives valuable tips for getting it adopted and used by customers and developers. Cucumber lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid – all rolled into one format.

http://www.infoq.com/presentations/wilk-cucumber

Feature Injection and BDD: Pull in Action

Published October 27th, 2009 Under Lean, Software Testing | Leave a Comment

Ever been on a project where the software worked, but turned out to be the wrong software? Where the software was shipped, but didn’t make any money? Feature Injection – the method of breaking down a vision into small stories – can help! In this presentation, we talk about how Feature Injection plays into BDD’s scenarios and aligns with Lean and Kanban. We show you how companies can apply it simply and quickly, and we share some tales from coaches and businesses who’ve tried it.

http://skillsmatter.com/podcast/agile-testing/feature-injection-and-bdd-pull-in-action

Behaviour-Driven Development – a road to effective design and clean code

Published August 20th, 2009 Under Agile | Leave a Comment

In this talk, Dan contrasts the traditional top-down and bottom-up approaches with a proven “outside-in” approach based on real life experience – engaging with and listening to our stakeholders. He shows how this can allow us to stay firmly on track, leading to clean code and effective design that provides maximum value to our stakeholders, not just the famous Scrum Product Owner.

http://www.infoq.com/presentations/bdd-dan-north

Good Test, Better Code – From Unit Testing to Behavior-Driven Development

Published August 13th, 2009 Under Coding, Software Testing | 1 Comment

“Testing is design”; “Unit tests are documentation”; “Tests are specifications”. These are sought-after rewards of developer testing practices, but simply writing tests or even writing tests before writing production code doesn’t make these wishes come true. When we take up unit testing, we initially tend to do things a certain way. Over time we might adopt test-driven development, mock-objects, and ultimately we might adopt the specification and design practices that lead to the lauded benefits of self-documenting code, design through test, and ultimately to a greater level of agility. This presentation walks through some of the principal phases of evolving basic testing skills toward sustainable agility through test-driven, client-driven, and behavior-driven programming, touching on unit-testing, mock objects, test-driven development, behavior-driven development, and domain-specific languages for testing.

« go backkeep looking »