Created by Fabien Garcia
It's a hight level framework testing
Feature: Search
In order to learn more
As an information seeker
I want to find more information
Scenario: Find what I'm looking for
Given I am on the search page
And I have posts titled article top, other staff
When I search for "article top"
Then I should see
"""
article top
"""
Given 'I am on the search page' do
@browser.goto '/search'
end
When /I search for "(.*)"/ do |query|
@browser.text_field(:name, 'q').set(query)
@browser.button(:name, 'btnG').click
end
Then /I should see/ do |text\
@browser.text.should =~ /#{text}/m
end
Framework for testing developer friendly and easy to read.
describe "Search /blog" do
it "should be able to search into the blog database" do
post = FactoryGirl.create(:post)
post2 = FactoryGirl.create(:post, title: 'other staff' )
visit home_path
fill_in 'search', :with => 'article top'
click_on 'Search'
page.should have_content("article top")
end
end
It will give you a nice interface to build your project and see test result
(without knowing anything about development)
One of the most famous, using Java to run on a server
Really powerfull solution for open source project
Build tool made with ruby on rails
* except maybe for a small project 1 or 2 days long and with a really short life span and witch will never change !
We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true
Robert Wilensky