Testing

TwitterFacebook
Get flash to fully experience Pearltrees

Start from scratch - RSpec Rails - RSpec - Relish

https://www.relishapp.com/rspec/rspec-rails/v/2-6/docs RSpec Rails 2.6 rspec-rails extends Rails' built-in testing framework to support rspec examples for requests, controllers, models, views, helpers, mailers and routing. You can choose between webrat or capybara for simulating a browser, automating a browser, or setting expectations using the matchers they supply.
https://www.relishapp.com/rspec/

RSpec Documentation - Relish

RSpec is a Behaviour-Driven Development tool for Ruby programmers. BDD is an approach to software development that combines Test-Driven Development, Domain Driven Design, and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation, focusing on the documentation and design aspects of TDD.
http://rdoc.info/github/thoughtbot/factory_girl/v1.3.3/file/README.rdoc Sorry, but we couldn't find the page /github/thoughtbot/factory_girl/v1.3.3/file/README.rdoc in the thoughtbot/factory_girl Github repository. Are you sure that class, method, or file exists?

File: README — Documentation by YARD 0.7.2

https://www.relishapp.com/rspec/rspec-rails/docs

RSpec Rails 2.6 - RSpec - Relish

RSpec Rails 2.9 rspec-rails extends Rails' built-in testing framework to support rspec examples for requests, controllers, models, views, helpers, mailers and routing. You can choose between webrat or capybara for simulating a browser, automating a browser, or setting expectations using the matchers they supply. Just add your preference to the Gemfile: The documentation for rspec-rails is a work in progress.

Tutorials and Related Blog Posts - GitHub

https://github.com/cucumber/cucumber/wiki/tutorials-and-related-blog-posts Here is a list of Cucumber related blog posts/tutorials. Please keep in mind that blogs can become dated quickly with a fast moving project like Cucumber. Cucumber’s RDocs and wiki should be considered the canonical documentation source with the, hopefully, most up to date information. Some blog posts may refer to the RSpec Story Runner but they still provide value since Cucumber started out as a rewrite of that project. Java Cucumber (cuke4duke) Spring 3 and Selenium Test – Jump Start Web Application.
Each factory has a name and a set of attributes. The name is used to guess the class of the object by default, but it's possible to explicitly specify it: # This will guess the User class FactoryGirl . define do factory :user do first_name 'John' last_name 'Doe' admin false end # This will use the User class (Admin would have been guessed) factory :admin , :class => User do first_name 'Admin' last_name 'User' admin true end # The same, but using a string instead of class constant factory :admin , :class => 'user' do first_name 'Admin' last_name 'User' admin true end end It is highly recommended that you have one factory for each class that provides the simplest set of attributes necessary to create an instance of that class.

GETTING_STARTED.md at master from thoughtbot/factory_girl - GitHub

https://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md

Selenium web application testing system

What is Selenium? Selenium automates browsers . That's it. What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. http://seleniumhq.org/