07 Jul '12, 11am

[rails][rspec] / “#275 How I Test - RailsCasts”

[rails][rspec] / “#275 How I Test - RailsCasts”

このテストは作成したファクトリを使用してユーザを作成し、パスワードをリセットするときにユーザがとるであろう手順を、いくつかのCapybaraのコマンドを使ってシミュレートします。ログインページにアクセスし、「password」という単語を含むリンクをクリックします。リンクのテキストを厳密に定義しないことで、テストをより失敗しにくいようにします。テキストが例えば「パスワード忘れ」から「パスワードを忘れましたか?」に変わっても、テストは変わらず成功します。リンク先のページで、テキストフィールドのうち関連づけられたラベルのテキストに「Email」が含まれるものを探して、ユーザのメールアドレスを入力します。最後に「Reset Password」ボタンをクリックします。

Full article: http://railscasts.com/episodes/275-how-i-test?language=ja...

Tweets

"Webmachine::Test provides a testing API for we...

rubygems.org 07 Jul '12, 10pm

webmachine-test 0.1.1 Webmachine::Test provides a testing API for webmachine-ruby inspired by rack-test. install gem insta...

Automated tools streamline software test and ce...

eetimes.com 08 Jul '12, 10pm

In this Product How-To design article, Jared Fry and Shan Bhattacharya of LDRA go into detail on how to use the company’s ...

Test Then Invest: Putting Innovation Into Your B2B Search Program

Test Then Invest: Putting Innovation Into Your ...

searchengineland.com 05 Jul '12, 3pm

As we move toward the halfway point of 2012, now is a great time to ask ‘how successfully has my B2B search campaign perfo...

Renault embarks on Z.E. Test Drive Tour: Renault’s Z.E. Test Drive Tour will kick off at London’s Covent Garden

Renault embarks on Z.E. Test Drive Tour: Renaul...

thegreencarwebsite.co.uk 05 Jul '12, 8am

Renault ’s Z.E. Test Drive Tour will kick off at London’s Covent Garden this weekend and it wants to make you dance. Setti...

DARPA launches Integrated Hypersonics program; ...

greencarcongress.com 08 Jul '12, 11am

DARPA launches Integrated Hypersonics program; targeting full-scale test flight in 2016 8 July 2012 The US Defense Advance...

"iPad Research - Test and Keep" scam?

clappingtrees.com 06 Jul '12, 2pm

Be discerning. A marketing firm that is truly offering 10,000 free iPads should have enough money in their budget to put t...

Coda approaches 110 miles in Bay Area test drive

green.autoblog.com 05 Jul '12, 10pm

The Coda uses lithium iron phosphate chemistry. From Wiki: 'The LiFePO4 battery uses a lithium-ion-derived chemistry and s...

Female F1 test driver seriously injured in crash after her car hit the racing outfit's support truck

Female F1 test driver seriously injured in cras...

straitstimes.com 04 Jul '12, 12am

Female Formula One test driver Maria de Villota was conscious in a hospital after suffering life-threatening injuries in a...

Google Content Experiments: Test Your Site for ...

seochat.com 02 Jul '12, 12pm

Have you put off testing your website to see if you can improve conversions? Do you think it will cost you too much money?...

Google's New SERP Test: Tabular Mega Sitelinks via @seoconsult

Google's New SERP Test: Tabular Mega Sitelinks ...

seoconsult.com 04 Jul '12, 3pm

Just an hour before being mentioned in a blog post by Mediaworks ; my colleagues and I (while searching for some blog post...

Test article for image URL capture: testing

ecohomemagazine.com 29 Jun '12, 5pm

Green Materials Responsible Mining Energy-Efficient Windows Performance Test Standards Questioned for Insulated Glass A wi...

Piper Jaffray “Street Test” Of Google vs. Siri Misses The Point

Piper Jaffray “Street Test” Of Google vs. Siri ...

searchengineland.com 29 Jun '12, 9pm

No sooner did I hit “publish” on my earlier post, Google’s “Voice Assistant” Not Quite Siri-Smart But Most People Won’t No...

Zoe crash test shows just one of 100 electric vehicles Renault demolished in development

Zoe crash test shows just one of 100 electric v...

green.autoblog.com 01 Jul '12, 12pm

in Europe. Pricewise, the Zoe will be much less. Thanks to battery leasing (which alliance partner Nissan is also consider...

Audi Q3 full test drive review

paultan.org 02 Jul '12, 4am

As mentioned earlier, the Q3 comes outfitted with the all-wheel drive quattro system that automatically bestows the SUV wi...