Ruby

This page lists all content tagged with the term "Ruby".

Steps to getting Ruby to handle SQL Server on a CentOS box using unixODBC

1. yum install unixODBC freetds freetds-devel unixODBC-devel
2. Add your database to /etc/freetds.conf:
[(your custom connection name)]
host = (your host)
port = 1433
tds version = 7.0
username = (username)
password = (password)
3. Add this to /etc/odbcinst.ini:
[FreeTDS]
Description = TDS driver (Sybase/MS SQL)
Driver = /usr/lib64/libtdsodbc.so
Setup = /usr/lib64/libtdsS.so
CPTimeout =
CPReuse =
FileUsage = 1
4. Add your database to /etc/odb.ini:
[(your custom connection name)]

Mastiffe

The Manual AJAX System Testing Interface For FitnessE. Mastiffe allows the FitNesse automated testing system to be used for manual testing as well. Instead of running automated test steps against an application, test steps appear in a dialog in your browser. You can pass or fail steps, or block or abort a test, and add notes as necessary. Features include parameters, calling sub-tests, and buttons to assist in creating new Mastiffe steps.

FitNexus

FitNexus aims to include a set of plugins and add-ons to FitNesse to enhance its capabilities and make it into a more full-featured testing platform.

Rsel

Rsel is a FitNesse Slim add-on that allows running tests with Selenium. To install:

$ gem install rsel

See the links below for more information.

Declare or Impair

A topic that crops up often on the Cucumber mailing list is whether it's best to write BDD tests in imperative or declarative style.

Ruby on Rails on Ubuntu guide

Nice guide to getting Rails working on Ubuntu: https://help.ubuntu.com/community/RubyOnRails

Kelp

Kelp is a library of Ruby helpers for Cucumber, making it easier for you to write your own step definitions built upon common webpage interactions like "follow link" or "fill in fields", and assertions like "should see" or "should not see".

Install:

$ gem install kelp

Visit the #kelp channel on irc.freenode.net to chat.

The Zens of Python and Ruby

I've had this idea kicking around in my head for a while that someone ought to rewrite The Zen of Python from a Ruby perspective. Despite their many similarities (very high-level, multi-paradigm, interpreted and dynamic), Python and Ruby have nearly opposite design principles in many areas. Similarly, programmers of the two languages seem (to me anyway) to have different attitudes about readability and documentation, and what constitutes "cleverness" in programming (and whether cleverness is good or bad).

Racking my brains

I'm using Cucumber and Capybara for integration testing on a web application that depends heavily on the use of subdomains. Since some features rely on client-side Javascript, some scenarios use the Selenium 2 (WebDriver) driver, while other scenarios use the regular rack-test driver.

Colorado Blind Crafter

We designed this site using Ruby on Rails, along with the Spree e-commerce framework, for the purpose of selling vertical window blinds online. The site allows shoppers to customize the size, style, and hardware for each window covering, with realtime price estimates.

Syndicate content