You are using an outdated browser which puts all net citizens at risk. As an incentive to upgrade to a current and thus much more secure product (we recommend the free Firefox browser), you won't be able to visit this site in its cute design, but in this rather boring printer-ready version only. Thank you for considering a browser update! autotest ZenTest’s autotest is great, but it has one drawba
パスワードを忘れた際のパスワード再設定操作のテストを Cucumber で書いてみました。 UK STUDIOブログの Cucumber+email_specでActionMailerのテストをする に書かれているように Cucumber はメールを含む一連の操作をテストできます。 インストールと初期設定 メールのテストを行うプラグイン Email Spec をインストールします。 gem install bmabey-email_specfeatures/support/env.rb に以下を追加します。GitHubに書かれているだけではエラーになってしまいました。 require 'email_spec' require 'email_spec/cucumber' cd Railsプロジェクト script/generate email_spec 2009/10/30 追加 email
Moved Permanently The resource has moved to https://wincent.dev/blog/rspec-autotest-objective-c
ネイルで使う材料で、DIY時の木割れやネジ跡を派手にしたらかわいい OSB合板でちょっとしたボックスをつくりました。 ビス止め下手すぎて木を割ったり穴あけすぎたりした場所に、好きな派手色の樹脂を詰めてパテ代わりにしてみました。 ちょっと某HAYっぽみ出て可愛かったので、自分用にメモです。 手順 塗装 派手色グミジェルで失敗部分…
Mon Oct 01 2007 04:41:13 GMT+0000 (Coordinated Universal Time) I am not yet converted to the idea of testing/specing views in separation so I usually invoke integrate_views at the top of my controller specs. I also have a bunch of helper methods that I want to reuse across my specs. To encapsulate those needs and DRY up my specs I came up with this little method that I keep in my spec/spec_helper.
RSpec is an awesome testing framework. On top of being the first Ruby BDD framework the core team is doing a great job in enhancing our testing experience and therefore the quality of our code. This time, I don't want to introduce to the latest changes but instead showing you what Josh Knowles, Bryan Helmkamp and myself came up with. RSpec on Rails matchers plugin + TextMate Bundle Matchers are so
最近Macの再インストールしてから開発環境が中途半端だったので、Railsのテスト環境を改めて整備、のメモ 1) Rails開発環境は入っている 2) RSpec入れる % sudo gem install rspec 3) ZenTest入れる % sudo gem install ZenTest 3) diff-lcs入れる % sudo gem install diff-lcs 4) 自分のRailsアプリのディレクトリへ移動 % cd /RAILS_ROOT/ 5) rspec on rails入れる % sudo ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_5/rspec_on_rails 6) RSpec関係ファイルのセットアップ % ruby script/gen
『るびま』は、Ruby に関する技術記事はもちろんのこと、Rubyist へのインタビューやエッセイ、その他をお届けするウェブ雑誌です。 Rubyist Magazine について 『Rubyist Magazine』、略して『るびま』は、日本 Ruby の会の有志による Rubyist の Rubyist による、Rubyist とそうでない人のためのウェブ雑誌です。 最新号 Rubyist Magazine 0058 号 バックナンバー Rubyist Magazine 0058 号 RubyKaigi 2018 直前特集号 Rubyist Magazine 0057 号 RubyKaigi 2017 直前特集号 Rubyist Magazine 0056 号 Rubyist Magazine 0055 号 Rubyist Magazine 0054 号 東京 Ruby 会議 11 直
どちらも Dave Astel による。英語ですが、それぞれお薦めです。 RSpec のcheat sheet http://blog.daveastels.com/articles/2006/09/09/rspec-cheat-sheet 今日見付けたんですが、基本的な使いかたが乗ってるのでいい感じです。先日の私のエントリもあわせてどうぞ。このへん知ってりゃ十分書けそうな感じです。 RSpec http://rubyforge.org/pipermail/rspec-devel/2006-August/000477.html こちらはチュートリアル。RSpec のバージョンがちょっと古めで、そのままじゃ動かないのが難点ですが、おおよそこれで良いかと。Mastermind というゲーム(女神転生やったことのあるひとは「コードブレイカー」というと分かり易いかも)を実装します。 で、私の場合こ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く