Enviar búsqueda
Cargar
Capybara
•
7 recomendaciones
•
1,926 vistas
Flavian Missi
Seguir
Presentation about Integration Tests using Capybara, Selenium and Rails.
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 21
Descargar ahora
Descargar para leer sin conexión
Recomendados
Functional testing with capybara
Functional testing with capybara
koffeinfrei
Embracing Capybara
Embracing Capybara
Tim Moore
Cheap frontend tricks
Cheap frontend tricks
ambiescent
18. images in symfony 4
18. images in symfony 4
Razvan Raducanu, PhD
Desymfony 2011 - Habemus Bundles
Desymfony 2011 - Habemus Bundles
Albert Jessurum
Image Manipulation in WordPress 3.5 - WordCamp Phoenix 2013
Image Manipulation in WordPress 3.5 - WordCamp Phoenix 2013
GetSource
All About Sammy
All About Sammy
Scott Becker
Evrone.ru / BEM for RoR
Evrone.ru / BEM for RoR
Dmitry KODer
Recomendados
Functional testing with capybara
Functional testing with capybara
koffeinfrei
Embracing Capybara
Embracing Capybara
Tim Moore
Cheap frontend tricks
Cheap frontend tricks
ambiescent
18. images in symfony 4
18. images in symfony 4
Razvan Raducanu, PhD
Desymfony 2011 - Habemus Bundles
Desymfony 2011 - Habemus Bundles
Albert Jessurum
Image Manipulation in WordPress 3.5 - WordCamp Phoenix 2013
Image Manipulation in WordPress 3.5 - WordCamp Phoenix 2013
GetSource
All About Sammy
All About Sammy
Scott Becker
Evrone.ru / BEM for RoR
Evrone.ru / BEM for RoR
Dmitry KODer
Mojolicious on Steroids
Mojolicious on Steroids
Tudor Constantin
Caret Introduction
Caret Introduction
J B
A Brief Introduction to JQuery Mobile
A Brief Introduction to JQuery Mobile
Dan Pickett
jQuery in 15 minutes
jQuery in 15 minutes
Simon Willison
Auto tools
Auto tools
祺 周
Intro to jquery
Intro to jquery
Dan Pickett
Drupal 7 module development
Drupal 7 module development
Adam Kalsey
7 reasons why developers should love Joomla!
7 reasons why developers should love Joomla!
Bartłomiej Krztuk
Mojolicious: what works and what doesn't
Mojolicious: what works and what doesn't
Cosimo Streppone
Mojolicious
Mojolicious
Lenz Gschwendtner
Borrador del blog
Borrador del blog
Sena Cedagro
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Dotan Dimet
Mojolicious, real-time web framework
Mojolicious, real-time web framework
taggg
5.hello popescu2
5.hello popescu2
Razvan Raducanu, PhD
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Chris Scott
Image manipulation in WordPress 3.5
Image manipulation in WordPress 3.5
Marko Heijnen
Introduction to jQuery - Barcamp London 9
Introduction to jQuery - Barcamp London 9
Jack Franklin
11. move in Symfony 4
11. move in Symfony 4
Razvan Raducanu, PhD
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Nicholas Dionysopoulos
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Thierry Debels
Quick ref capybara
Quick ref capybara
fatec
Quick ref capybara
Quick ref capybara
fatec
Más contenido relacionado
La actualidad más candente
Mojolicious on Steroids
Mojolicious on Steroids
Tudor Constantin
Caret Introduction
Caret Introduction
J B
A Brief Introduction to JQuery Mobile
A Brief Introduction to JQuery Mobile
Dan Pickett
jQuery in 15 minutes
jQuery in 15 minutes
Simon Willison
Auto tools
Auto tools
祺 周
Intro to jquery
Intro to jquery
Dan Pickett
Drupal 7 module development
Drupal 7 module development
Adam Kalsey
7 reasons why developers should love Joomla!
7 reasons why developers should love Joomla!
Bartłomiej Krztuk
Mojolicious: what works and what doesn't
Mojolicious: what works and what doesn't
Cosimo Streppone
Mojolicious
Mojolicious
Lenz Gschwendtner
Borrador del blog
Borrador del blog
Sena Cedagro
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Dotan Dimet
Mojolicious, real-time web framework
Mojolicious, real-time web framework
taggg
5.hello popescu2
5.hello popescu2
Razvan Raducanu, PhD
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Chris Scott
Image manipulation in WordPress 3.5
Image manipulation in WordPress 3.5
Marko Heijnen
Introduction to jQuery - Barcamp London 9
Introduction to jQuery - Barcamp London 9
Jack Franklin
11. move in Symfony 4
11. move in Symfony 4
Razvan Raducanu, PhD
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Nicholas Dionysopoulos
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Thierry Debels
La actualidad más candente
(20)
Mojolicious on Steroids
Mojolicious on Steroids
Caret Introduction
Caret Introduction
A Brief Introduction to JQuery Mobile
A Brief Introduction to JQuery Mobile
jQuery in 15 minutes
jQuery in 15 minutes
Auto tools
Auto tools
Intro to jquery
Intro to jquery
Drupal 7 module development
Drupal 7 module development
7 reasons why developers should love Joomla!
7 reasons why developers should love Joomla!
Mojolicious: what works and what doesn't
Mojolicious: what works and what doesn't
Mojolicious
Mojolicious
Borrador del blog
Borrador del blog
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Mojolicious - Perl Framework for the Real-Time Web (Lightning Talk)
Mojolicious, real-time web framework
Mojolicious, real-time web framework
5.hello popescu2
5.hello popescu2
You're Doing it Wrong - WordCamp Orlando
You're Doing it Wrong - WordCamp Orlando
Image manipulation in WordPress 3.5
Image manipulation in WordPress 3.5
Introduction to jQuery - Barcamp London 9
Introduction to jQuery - Barcamp London 9
11. move in Symfony 4
11. move in Symfony 4
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Joomla! Frappe - Κατασκευή εφαρμογών για το Joomla! χωρίς να τραβάτε τα μαλιά...
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Valse overlijdensberichten FTF'ers om veiligheidsdiensten te misleiden
Similar a Capybara
Quick ref capybara
Quick ref capybara
fatec
Quick ref capybara
Quick ref capybara
fatec
d.mix: Programming by a Sample
d.mix: Programming by a Sample
Leslie W
WIT lab programs.docx
WIT lab programs.docx
jashmithakakavakam
JavaScript DOM - Dynamic interactive Code
JavaScript DOM - Dynamic interactive Code
Laurence Svekis ✔
Crowdsourcing with Django
Crowdsourcing with Django
Simon Willison
Jarv.us Showcase — SenchaCon 2011
Jarv.us Showcase — SenchaCon 2011
Chris Alfano
#NewMeetup Performance
#NewMeetup Performance
Justin Cataldo
Building Potent WordPress Websites
Building Potent WordPress Websites
Kyle Cearley
Python Code Camp for Professionals 1/4
Python Code Camp for Professionals 1/4
DEVCON
QConSP 2015 - Dicas de Performance para Aplicações Web
QConSP 2015 - Dicas de Performance para Aplicações Web
Fabio Akita
HTML5 New and Improved
HTML5 New and Improved
Timothy Fisher
Keeping the frontend under control with Symfony and Webpack
Keeping the frontend under control with Symfony and Webpack
Ignacio Martín
前端MVC 豆瓣说
前端MVC 豆瓣说
Ting Lv
Frameworkless Web Development in Clojure
Frameworkless Web Development in Clojure
Kungi2342
PhpBB meets Symfony2
PhpBB meets Symfony2
Fabien Potencier
Jquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript Basics
EPAM Systems
RubyBarCamp “Полезные gems и plugins”
RubyBarCamp “Полезные gems и plugins”
apostlion
Kick start with j query
Kick start with j query
Md. Ziaul Haq
A Short Introduction To jQuery
A Short Introduction To jQuery
Sudar Muthu
Similar a Capybara
(20)
Quick ref capybara
Quick ref capybara
Quick ref capybara
Quick ref capybara
d.mix: Programming by a Sample
d.mix: Programming by a Sample
WIT lab programs.docx
WIT lab programs.docx
JavaScript DOM - Dynamic interactive Code
JavaScript DOM - Dynamic interactive Code
Crowdsourcing with Django
Crowdsourcing with Django
Jarv.us Showcase — SenchaCon 2011
Jarv.us Showcase — SenchaCon 2011
#NewMeetup Performance
#NewMeetup Performance
Building Potent WordPress Websites
Building Potent WordPress Websites
Python Code Camp for Professionals 1/4
Python Code Camp for Professionals 1/4
QConSP 2015 - Dicas de Performance para Aplicações Web
QConSP 2015 - Dicas de Performance para Aplicações Web
HTML5 New and Improved
HTML5 New and Improved
Keeping the frontend under control with Symfony and Webpack
Keeping the frontend under control with Symfony and Webpack
前端MVC 豆瓣说
前端MVC 豆瓣说
Frameworkless Web Development in Clojure
Frameworkless Web Development in Clojure
PhpBB meets Symfony2
PhpBB meets Symfony2
Jquery Complete Presentation along with Javascript Basics
Jquery Complete Presentation along with Javascript Basics
RubyBarCamp “Полезные gems и plugins”
RubyBarCamp “Полезные gems и plugins”
Kick start with j query
Kick start with j query
A Short Introduction To jQuery
A Short Introduction To jQuery
Más de Flavian Missi
Tdd with-python-and-django
Tdd with-python-and-django
Flavian Missi
Profiling em Python
Profiling em Python
Flavian Missi
Tsuru - plataforma de cloud computing open source
Tsuru - plataforma de cloud computing open source
Flavian Missi
Django class based-views
Django class based-views
Flavian Missi
Rails::Engine
Rails::Engine
Flavian Missi
Modularizing Rails Apps with Cells
Modularizing Rails Apps with Cells
Flavian Missi
Más de Flavian Missi
(6)
Tdd with-python-and-django
Tdd with-python-and-django
Profiling em Python
Profiling em Python
Tsuru - plataforma de cloud computing open source
Tsuru - plataforma de cloud computing open source
Django class based-views
Django class based-views
Rails::Engine
Rails::Engine
Modularizing Rails Apps with Cells
Modularizing Rails Apps with Cells
Último
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Último
(20)
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Capybara
1.
Capybara Almir M3nd3s
Flávia Missi @m3nd3s @flaviamissi almirmendes.com flaviamissi.com.br
2.
Unit tests Functional test
3.
User + Browser
4.
Integration tests
5.
6.
http://www.flickr.com/photos/kalebdf/3172638676/
Ué... não aconteceu nada! Capybara simulates how a real user would interact with a web application
7.
Sinatra
8.
Selenium HQ
9.
gem install capybara
10.
spec_helper.rb require 'capybara/rails'
require 'capybara/rspec'
11.
Capybara.default_driver = :selenium Capybara.register_driver
:selenium do |app| Capybara::Driver::Selenium.new( app, :browser => :chrome) end
12.
visit('/projects') visit(post_comments_path(post))
current_path
13.
Simulating click
14.
click_link('id-of-link')
click_link('Link Text') click_button('Save') click_on('Link Text') click_on('Button Value')
15.
Filling html forms
16.
fill_in('First Name', :with
=> 'John') choose('A Radio Button') check('A Checkbox') uncheck('A Checkbox') attach_file('Image', '/path/to/image.jpg') select('Option', :from => 'Select Box')
17.
within("li#employee") do fill_in
'Name', :with => 'Jimmy' end within(:xpath, "//li[@id='employee']") do fill_in 'Name', :with => 'Jimmy' end
18.
Querying page.has_selector?('table tr') page.has_selector?(:xpath, '//table/tr') page.has_no_selector?(:content) page.has_xpath?('//table/tr') page.has_css?('table
tr.foo') page.has_content?('foo')
19.
RSpec Querying page.should have_selector('table
tr') page.should have_selector(:xpath, '//table/tr') page.should have_no_selector(:content) page.should have_xpath('//table/tr') page.should have_css('table tr.foo') page.should have_content('foo') page.should have_no_content('foo')
20.
Valeu!
É nozes!
21.
Links http://rubydoc.info/github/jnicklas/capybara/master/file/README.rdoc https://github.com/jnicklas/capybara
Descargar ahora