23 May 2013

The Ruby Reflector

Topic

Cucumber

  Source Favicon
On SD Ruby Podcast 10 days ago.
Email

Hillary Hueter demonstrates how to validate user interfaces with Watir. Learn how to write scripts that automate common functions (clicking links, selecting options from a list, filling out forms, etc.) and how to use Watir in Cucumber or RSpec tests.

Bonus content: download the slides from this talk.

sdruby.org Read
  Source Favicon
Email

…commands to run any of the test suites you have (e.g.: RSpec, Jasmine, Cucumber, Spinach) and any setup you need to do before-hand (e.g.: rake db:test:prepare). This section will be small but vital.

README: Staging and Production environments

The staging and production environment sections (one section per environment) should provide any information a developer might need to know about these environments.

Information you might want to include is:

Which server is the application …

thefrontiergroup.com.au Read
  Source Favicon
By Matt of Tea-Driven Development 1 month ago.
Email

Over the weekend we released Cucumber version 1.3.0. This was quickly replaced by 1.3.1 when we realised there was a bug 1.3.0 that only appeared on Windows.

Along with masses of bugfixes, this release contains the early stages of some serious internal refactoring work planned for release in version 2.0. Although our tests continue to pass, it may be that we've changed untested behaviour so that's why we've bumped the minor release number. We're already aware of one minor …

blog.mattwynne.net Read
  Source Favicon
By Matt of Tea-Driven Development 1 month ago.
Email

…consulting business is built around BDD, so I have a vested interest in the success of the Cucumber project. It's more than that though. I have a firm belief that the difference between a software project that's fun to work on and one that's miserable is the communication between people. I've seen how Cucumber can improve that communication, or at least make it clear to people when it needs to improve. It's not a silver bullet, but I do genuinely think it can help …

blog.mattwynne.net Read
  Source Favicon
On WriteLessCode Blog 3 months ago.
Email

Ext JS-related helpers, I ended up with specs that read almost as good as Cucumber features, at the same time written in a real programming language, not Gherkin:

describe "Actions component", -> it "should handle clicking a button", -> click button "Simple action" expectToSee header "Simple action triggered"

it "should show certain buttons disabled", -> expectDisabled button "Disabled action"

it "should …

blog.writelesscode.com Read
  Source Favicon
Email

You can test just about anything with Cucumber. We certainly have, and in Cucumber Recipes we'll show you how to apply our hard-won field experience to your own projects. Once you've mastered the basics, this book will show you how to get the most out of Cucumber--from specific situations to advanced test-writing advice. With over forty practical recipes, you'll test desktop, web, mobile, and server applications across a variety of platforms. This book gives you tools that …

oreillynet.com Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 4 months ago.
Email

Rspec/ Cucumber for testing

Skinny models, controllers, and a service layer

But his metaphor breaks down a little, because the second stack isn't really a stack:

A considerable minority uses a stack like this. It's important that the Prime Stack isn't exact: you might not use Cucumber at all, for example, or maybe you don't have a service layer.

On the (private, but cheap) Ruby Rogues "Parley" email list , I came up with …

gilesbowkett.blogspot.com Read
  Source Favicon
By interblah.net of interblah.net 4 months ago.
Email

…Kintama tests themselves, which would also happen if they were written as strings within Cucumber.

Writing Kintama acceptance tests in Test/Unit

Thankfully, we can make some big improvements without having to lose any of the speed or editor-friendliness of the tests. Here's an example of one of the new Kintama "usage" tests, which are a suite of acceptance tests written to demonstrate the behaviour of various features:

def test_should_pass_when_all_tests_pass context …

interblah.net Read
  Source Favicon
On Plasticx Blog 5 months ago.
Email

…your implementation. I started coding my CapGun web thumb service using Cucumber to drive Outside-In/BDD development.

Dog Food

Dog-food an app while you are developing it as quickly as possible. CapGun was web thumbing URLs from my Twitter feed and posting the results to a Tumblr account before the service was released to the public.

Attribute this quote to me, please

Outside-In / BDD is really just "poor man's pair programming" (R) - …

blog.mondragon.cc Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 6 months ago.
Email

What we need is servers with unlimited RAM.

Gitnesse - Git-based wiki with Cucumber integration for acceptance testing.

Chrome Devtools cheatsheet - All the shortcuts you need.

Git: Twelve Curated Tips and Workflows From the Trenches - Some good stuff here.

Flatstrap - Bootstrap with flat styling.

Into the Turing Tarpit - This month's competition on PLT Games.

afreshcup.com Read