20 April 2014

The Ruby Reflector

Topic

Cucumber

  Source Favicon
By Mike Gunderloy of A Fresh Cup 3 months ago.
Email

8 Sass mixins you must have in your toolbox - Assuming you use Sass, anyhow.

Testing Rack-based APIs with Cucumber and RSpec - Anything can be tested with sufficient tooling.

SSL Labs: Stricter security requirements for 2014 - If you haven't checked the configuration of your SSL server yet you probably should.

afreshcup.com Read
  Source Favicon
Email

Use the Aruba API without the Cucumber steps

We opted for the second approach - use the Aruba API from within RSpec, sans the Cucumber steps.

Opinions on Cucumber within Bulletproof R&D are split between love and loathing. There's a reasonable argument to be made that Cucumber adds a layer of abstraction to tests that increases maintenance of tests and slows down development. On the other hand, Cucumber is great for capturing high level user requirements in a …

holmwood.id.au Read
  Source Favicon
By Matt of Tea-Driven Development 6 months ago.
Email

After months of hard work, we've got Cucumber 2.0 into a state where it can run its own tests and (usually) give us useful feedback. We've just merged this code into the master branch.

There's still a lot to do. The specs all pass, but only approximately 50 / 150 scenarios are passing. The 100 that fail are tagged out with @ wip-new-core while we get them into a passing state.

The decision to move this code into master was taken because we've been getting pull requests …

blog.mattwynne.net Read
  Source Favicon
Email

…into any kind of modules. It's also difficult to test anything in isolation. That's why Cucumber, Capybara, Selenium are so popular, as they help you in writing integrated tests.

Integrated tests have their place, but it's impossible to test everything through all the layers. This results in slow builds - a typical syndrome in Rails projects.

The Rails way makes sense for smaller projects. What I'm disagreeing with is using "The Rails way" in bigger, …

andrzejonsoftware.blogspot.com Read
  Source Favicon
By Matt of Tea-Driven Development 9 months ago.
Email

Cucumber's new Core

This summer my main coding project has been to re-write the guts of Cucumber. Steve Tooke and I have been pairing on a brand new gem, cucumber-core that will become the inner hexagon of Cucumber v2.0. We've imported some code from the existing project, but the majority is brand new code. We use spikes sometimes, but all the code in the master branch has been written test-first. We generally make small, frequent, commits and we've …

blog.mattwynne.net Read
  Source Favicon
By livelessons of Videos related to 'Ruby on Rails demo' 9 months ago.
Email

…own authentication with has_secure_password; and an introduction to Gherkin & Cucumber. These focused video lessons help you learn crucial new skills fast— and put them to work immediately! Watch top Rails developer Michael Hartl guide you through building a complete application using today's best practices for MVC and REST design, layout, Ruby coding, security, testing, deployment, and more. http://www.informit.com/store/ruby-on-rails-tutorial-livelessons-video-training-learn-9780133039993 …

youtube.com Read
  Source Favicon
On SD Ruby Podcast 11 months 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
On WriteLessCode Blog 1 year 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