Cucumber development consists of 3 main steps:
1) Describing project features in simple human language
2) Defining step definitions in Ruby
3) Development cycle: Cucumber tests features and implements unpassed ones manually
Mechanize at the Ruby Drink-up of Sophia, November 2011rivierarb
Simple web-scraping with Mechanize and Nokogiri. Presented at the Ruby Drink-up of Sophia Antipolis on the 8th of November 2011 by Muriel Salvan (@MurielSalvan).
Writing Clean, Standards Compliant, Testable Code for WordPressShawn Hooper
This talk, delivered at WordCamp Toronto 2016, explains the WordPress Coding Standards for HTML, CSS, PHP and JavaScript, and discusses best practices for writing code that is easy to read, test, and extend.
Mechanize at the Ruby Drink-up of Sophia, November 2011rivierarb
Simple web-scraping with Mechanize and Nokogiri. Presented at the Ruby Drink-up of Sophia Antipolis on the 8th of November 2011 by Muriel Salvan (@MurielSalvan).
Writing Clean, Standards Compliant, Testable Code for WordPressShawn Hooper
This talk, delivered at WordCamp Toronto 2016, explains the WordPress Coding Standards for HTML, CSS, PHP and JavaScript, and discusses best practices for writing code that is easy to read, test, and extend.
http://yapcasia.org/2011/talk/48
This talk is created by OpenOffice on Ubuntu. Including fonts are a little bit funny. Thank you for your interestings.
Charla brindada en Locos x Rails en Buenos Aires, Argentina, el 4 de abril de 2009 sobre el framework web Sinatra.
Breve descripción del framework y sus capacidades, una muy breve introducción a Rack y cómo funciona, y una muestra rápida de los Rails Metals, y de cómo integrar aplicaciones sinatra a nuestras aplicaciones en Rails.
Using the Google Analytics API to make most popular pages widgets for your we...Dean Peters
Using the Google Analytics API to create a most popular pages widget for your website or blog using the Google Analytics API. I'll demonstrate a custom report in Google Analytics, then show how to automate the same using Perl and the Google Analytics API to create an RSS feed of the top 10 stories from my blog — which I then incorporate into the siderail of my blog using a WordPress RSS widget.
Here's the link to code in GitHub:
http://bitly.com/ga-api2mpp?slideshare
http://yapcasia.org/2011/talk/48
This talk is created by OpenOffice on Ubuntu. Including fonts are a little bit funny. Thank you for your interestings.
Charla brindada en Locos x Rails en Buenos Aires, Argentina, el 4 de abril de 2009 sobre el framework web Sinatra.
Breve descripción del framework y sus capacidades, una muy breve introducción a Rack y cómo funciona, y una muestra rápida de los Rails Metals, y de cómo integrar aplicaciones sinatra a nuestras aplicaciones en Rails.
Using the Google Analytics API to make most popular pages widgets for your we...Dean Peters
Using the Google Analytics API to create a most popular pages widget for your website or blog using the Google Analytics API. I'll demonstrate a custom report in Google Analytics, then show how to automate the same using Perl and the Google Analytics API to create an RSS feed of the top 10 stories from my blog — which I then incorporate into the siderail of my blog using a WordPress RSS widget.
Here's the link to code in GitHub:
http://bitly.com/ga-api2mpp?slideshare
Cucumber is a tool for executable plain-text documentation. Skipping past "how to install..." etc, I jump right into how I'm actually using it in a large project.
Make Everyone a Tester: Natural Language Acceptance TestingViget Labs
Application testing has traditionally been the responsibility of those in formal QA roles or, more recently, the application developers themselves. Is being a programmer or tester really a requirement for effectively testing your web application? Discover ways to enable your existing team to write human-readable tests they can run in their own browser.
Neil Patel - What You Need to be Measuring and How to Do ItCarsonified Team
Neil will teach you five advanced website traffic statistics that you NEED to be measuring, but probably aren't. It isn't good enough anymore to just measure click-through and conversion rates to your signup page. You need MUCH more detail and Neil will explain how to get it and make decisions accordingly. You'll be amazed at the increase in valuable sign-ups and revenue increases you can achieve.
Many of the testers understand the importance of automated tests which can test the system end to end. There are plenty of tools like Selenium, Watir, White etc. which allow you to drive your web or desktop ui for these tests. The intention of these tests is to mimic the user’s interaction with the system and automatically validate that he could achieve his goals.
Considering this, wouldnt it make sense for tests to talk the same language that an end user understands. Although, When we look around today most of the functional tests talk the language that the browser understands, it goes click button A, enter value in textfield B etc.
In this session we will share various approaches which allow you to build tests which an end user can understand and maybe even participate in writing. We will look at the problems with the usual approach of end-to-end writing tests such as being too verbose and technical.
We will look at the multiple benefits of writing tests in the end user’s language and the different ways in which to achieve it.
Finally, we will look at the key takeaways.
the practical reuse of social media data and how it can create better user experience. Combining Google’s Social Graph API with open data sources like RSS and Microformats to provide a wealth information about your users.
5. Feature: Login In order to manage my private data As a person.com user I want to login Scenario: Normal login Given I am on the home page When I fill in "login" with "value" And I fill in password field "passwd" with "value1" And I press "login" Then I should see "My Stuff" But I should not see "ERROR: Invalid password!" Scenario: Invalid login with bad login Given I am on the home page When I fill in "login" with "value1" And I fill in password field "passwd" with "value2" And I press "login" Then I should see "NO Login" Scenario: Invalid login with incorrect password Given I am on the home page When I fill in "login" with "value" And I press "login" Then I should see "ERROR: Invalid password!"
6. Scenario Outline : eating Given there are <start> cucumbers When I eat <eat> cucumbers Then I should have <left> cucumbers Examples : | start | eat | left | | 12 | 5 | 7 | | 20 | 5 | 15 | Given the following people exist: | name | email | phone | | Aslak | aslak@email.com | 123 | | Joe | joe@email.com | 234 | | Bryan | bryan@email.org | 456 |
7. Feature: Registration In order to start using site As a new user I want to register Scenario: Normal registration Given I am on the home page When I fill in "email" with random email And I fill in "fullname" with "MyNameIs" And I fill in "nickname" with "MyNicknameIs" And I choose "gender_1" And I select "10" from "birthday_day" And I select "March" from "birthday_month" And I select "1986" from "birthday_year" And I fill in "city" with "Antarctica, Antarctica, Antarctica" And I fill in "password" with "testpass" And I fill in "city" with "Antarct" And I click to city autocomplete item with "Antarctica" And I press "button_submit" Then I should see "Thank you for registration!"
8. Given /^(?:|I )am on (.+)$/ do |page_name| visit path_to(page_name) end When /^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/ do |button, selector| with_scope(selector) do click_button(button) end end Then /^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/ do |text, selector| with_scope(selector) do if page.respond_to? :should page.should have_no_content(text) else assert page.has_no_content?(text) end end end When /^(?:|I )fill in "([^"]*)" with random email(?: within "([^"]*)")?$/ do |field, selector| @email = Faker::Internet.email with_scope(selector) do fill_in(field, :with => @email) end end