HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
CukeUp!: Jonas Nicklas on Advanced acceptance testing w Capybara
Advanced acceptance testing w Capybara
Capybara is a tool written in Ruby to acceptance test web applications, it was written with Cucumber in mind, and the two are the bestest of friends. In this talk I will show off some of the lesser known features of Capybara and how to use them in tandem with cucumber to create readable and powerful features. I will demonstrate this by showing off a complicated cucumber feature and then showing how the steps can be implemented in an elegant way. This talk will teach the following features:
  • Testing interaction between multiple users
  • Capybara recently gained the ability to switch between multiple named sessions, this allows testing of features where multiple people interact. I will use this new API to show off how to test an application that uses websockets to update the page on the fly.
  • Locating and interacting with advanced widgets
  • Capybara's selector API makes it trivial to build powerful abstractions which can be used to make your step implementations more readable and easier to maintain.
  • Testing email integration
  • Using the email-spec library and Capybara together it becomes trivial to test even the most complicated email workflows.

    WANT TO LEARN MORE? THEN CHECK OUT OUR EXPERT WORKSHOPS!

    Agile Testing & BDD eXchange 2011 (Nov 18)

    Join us for 2011's Agile Testing & BDD eXchange, an informal day of deep technical insight and friendly discussion. Already confirmed for the conference are Chris Matts and Christian Hassa -- don't miss your chance to to learn, innovate and share skills, ideas, tools and practices for enterprise software development. Get more info and sign up here.

    Practical Agile Testing with Janet Gregory

    Janet Gregory's acclaimed three day practical agile testing course demonstrates how testers can become valued agile team members, how they contribute to delivering a continuous stream of business value, and provides ways to overcome common cultural and logistical obstacles in transitioning to an agile development process. The training course describes the values and principles that help testers adopt an Agile QA mindset, and how the whole team contributes to the success of any testing practices, including test automation. You will be shown how to complete testing activities in short iterations, and how testers contribute on a daily basis during each iteration and release cycle. Through interactive exercises and group discussions, you will discover good strategies for driving development with both executable and manual tests. The course is filled with real-life examples of the many ways agile testers add value. Find out more here

    Uncle Bob's Advanced Test Driven Development

    An intensely hands-on and exercise driven course that focuses on the design of clean, robust, and maintainable unit and acceptance tests. Students will learn the principles of test design, and the practices of keeping tests clean. More importantly, they will learn the principles of designing applications for testability. Exercises include the refactoring of bad tests, the writing of clean tests, and the design and refactoring of applications to make them testable. This is a three-day hands-on course in which you will learn the principles and practices of test design and described in Robert C. Martin's book: Agile Software Development, Principles, Patterns, and Practices. You will also receive this book as part of the course materials. Exercises are in Java, but are applicable to C#, C++, and other object oriented languages. Find out more here



    Gojko Adzic's BDD for Developers

    This hands-on BDD workshop will help you get the key skills needed to succeed with behaviour driven development and specification by example. Through simulations and practical exercises, you will apply the ideas and practices of BDD to solve the most common issues development teams have with specifications and tests. You will use Cucumber to define and automate BDD scenarios to provide stakeholders with visibility into software features and help the delivery teams drive development and build quality in from the start. Find out more here



    ABOUT JONAS NICKLAS
    Jonas Nicklas is a Ruby developer from rainy Gothenburg, Sweden. He is the primary author of Capybara and an early adopter of Cucumber, staying faithful when others were tempted by a more carnivorous diet. During the day he works for Elabs where he's
    More about Jonas Nicklas
PODCAST ADVANCED ACCEPTANCE TESTING W CAPYBARA

This session took part at the CukeUp!. You can view the other 17 podcasts here.
SPONSORS
Skills Matter Ltd

DRW Trading Group
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship