04 Apr '12, 11pm

via twiterfee Modern applications use Javascript. You can make... — giant robots smashing into other giant robots:

Modern applications use Javascript. You can make rich user interfaces that are faster and more responsive. Since we all do TDD, we need to test our Javascript. There are plenty of approaches. It used to be a pain, but there’s no excuse any more. If you’re using Capybara to go through the UI of a modern web application, perhaps with Cucumber, there’s going to be Javascript in that UI and you need to run it. The default driver for Capybara is Rack::Test, which is pretty simple. It can follow redirects and do 90% of what you need but the remaining 10% is the shiny part, the Javascript part. As an example, say you have a form that uses Javascript to auto-fill an “account name” field based on what you fill in for the “email address” field. If you used Capybara with just Rack::Test, the integration test won’t pass. Selenium runs your test in a real browser. Someone took the time...

Full article: http://robots.thoughtbot.com/post/10314620132/modern-appl...

Tweets

no need to read also can blog post:

no need to read also can blog post:

fourfeetnine.com 05 Apr '12, 4pm

…cos all pictures only. Geddit geddit. Another picture update courtesy of my iPhone. Ooi siblings trying on Ooib’s new hip...

A must-read blog for every Javascript and Ruby ...

yehudakatz.com 11 Apr '12, 12pm

A little over a year ago, I got my first serious glimpse at SproutCore, the JavaScript framework Apple used to build Mobil...

Comparing salaries with your peers can make you...

todayonline.com 04 Apr '12, 6am

LONDON - You would be forgiven for thinking that office gossip about senior colleagues' salaries and bonuses is a shortcut...

DSL to write pure web API applications

rubyflow.com 04 Apr '12, 1pm

DSL to write pure web API applications Posted by mattetti on April 04, 2012 — 0 comments For more than a year now, I've be...

The Smart Meter That Can Tell Your TV from your AC: Can your smart meter figure out exactly how much power you...

The Smart Meter That Can Tell Your TV from your...

greentechmedia.com 04 Apr '12, 7pm

Can your smart meter figure out exactly how much power your household appliances are using, without installing expensive n...

News: via @RunnersWorld

news.runnersworld.com 06 Apr '12, 2pm

By Debra Witt In her new book, The Runner’s Guide to Yoga: A Practical Approach to Building Strength and Flexibility for B...

Konacha: JavaScript Testing on Rails

rubyflow.com 03 Apr '12, 2pm

Konacha: JavaScript Testing on Rails Posted by joliss on April 03, 2012 — 0 comments For those looking to test heavy (Back...

The public can now use former KTM railway stati...

todayonline.com 04 Apr '12, 7am

SINGAPORE - The public can now make use of the two former Malayan Railways RTM stations at Bukit Timah and Tanjong Pagar f...

Does Lifecycle Analysis Make Sense for Nanotech...

spectrum.ieee.org 04 Apr '12, 4pm

Last week, at the International Symposium on Assessing the Economic Impact of Nanotechnology held in Washington, D.C., res...

How yoga can make you a better runner, accordin...

news.runnersworld.com 06 Apr '12, 5pm

By Debra Witt In her new book, The Runner’s Guide to Yoga: A Practical Approach to Building Strength and Flexibility for B...

“Bundler: The best way to manage Ruby applicati...

gembundler.com 04 Apr '12, 3pm

Make sure all dependencies in your Gemfile are available to your application. $ bundle install [--system] Gems will be ins...

NUS students have designed gloves you can use w...

todayonline.com 07 Apr '12, 9pm

SINGAPORE - Keeping your winter gloves on while using a touchscreen device is now possible, thanks to a pair of touchscree...

Yuks! Rotting meat used to make oil

soshiok.com 05 Apr '12, 5am

Most memorable at Mooi Chin is the Hainanese pork chop Every dish by Stagogiannis is like a performance at St Pierre 115 D...

Green Home Tip of the Day

greenhomeguide.com 05 Apr '12, 12pm

NASA did a study in conjunction with the Associated Landscape Contractors of America (ALCA, now PLANET, the Professional L...

Soft Robots for Hard Problems

spectrum.ieee.org 01 Apr '12, 6pm

Image: Whitesides Group Research/Harvard University Soft Star: A rubbery robotic gripper is actuated by air pressure. 27 M...