28 Oct '13, 3am

Acceptance Testing with Page Objects via @pivotallabs

An acceptance test suite goes through stages of complexity. Our first acceptance tests started off using a browser DSL like capybara directly: fill_in “tweet”, with: “hi!” click_button “Tweet” (Note: For the purposes of this article, I’m going to pretend I’m working with a team to build Twitter. I’ve never actually worked on Twitter, but I like to use it since it’s a domain readers are likely to already know.) As our test suites grew, we began to feel pain. All of the sudden, we had twenty tests clicking the “Tweet” button, and every single one of them did it slightly differently: click_button “Tweet” click_link_or_button “Tweet” click_on “Tweet” click_on “#tweet” find(“#tweet”).click execute_javascript(“$(‘#tweet’).click();”) When our product owner decided that users needed to enter a captcha every time they submit a tweet, guess what – we suddenly had twenty tests breaki...

Full article: http://pivotallabs.com/acceptance-testing-with-page-objects/

Tweets

HongKong’s MRT the envy of the world

mysingaporenews.blogspot.com 29 Oct '13, 12pm

‘Hong Kong's MRT is the envy of the world, and many other cities are trying to emulate its efficiency and reliability. Bet...

Get ready for M-PCIe testing by Chris Loberg @EDNcom @EETimes @UBMDesignCon

Get ready for M-PCIe testing by Chris Loberg @E...

edn.com 27 Oct '13, 9pm

The PCI-SIG, the organization responsible for PCI Express, and the MIPI Alliance, the organization behind M-PHY, are in th...

Need to test a custom #rails form builder?

pivotallabs.com 28 Oct '13, 9pm

Rails gives you the ability to customize the output when using the form_for view helper in a view by using a custom form b...

Claude Masterpiece Leads the @ChristiesInc Old ...

christies.com 06 Nov '13, 4pm

Specialists Departments Our specialists work in over 60 departments ranging from Antiquities to Contemporary Art. To learn...

Testing Your Factories First

robots.thoughtbot.com 01 Nov '13, 6am

Reade Harris September 06, 2012 factories factory girl testing Have you ever added a seemingly innocent validation to a mo...

Club Overseas: ...the Chinese language and cult...

kiasuparents.com 28 Oct '13, 7am

Hi slmkhoo 'Here' means China..we've been here less than a year and yes..the issue of the kids being well-versed in Englis...

awesome_print: A New Pretty Printer for your Ruby Objects via @delicious

awesome_print: A New Pretty Printer for your Ru...

rubyinside.com 26 Oct '13, 2pm

awesome_print is a Ruby tool that provides "pretty printing" support for your objects. It's a bit like p , pp or, if you p...

How to optimize the on-page factors of your web...

free-seo-news.com 28 Oct '13, 7am

High rankings on Google and other search engines are influenced by on-page factors and off-page factors. Before you focus ...