Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Description Rember is a front-end GUI to the 'memtest' command line memory testing program. This application will allow the user to select the number of test loops, as well as the amount of memory to test. There is a 'Log' tab that will allow the user to monitor memory testing. The user can toggle a 'verbose' switch to limit the amount of output, and can also choose to quit Finder and other applic
研究でdRubyを使っているのですが、そのとき詰まったのがテストの方法で、しばらく悩んでしまった 今回は僕の使っている方法を書き残しておこうと思う ちなみに、RSpecの使用を前提としている 通信をおこなわない場合 まずは、通信を行わない場合について考える。 単純に、ちゃんとdRubyサービスを開始しているかをテストするには、should_receiveを使って以下のように書く it 'should connect server' do uri = 'druby://...' DRb.should_receive(:start_service).with(uri, @server) @server.start end @server.startの中でDRb.start_serviceが呼ばれなければエラーになる。このときwithで@server自身を指定しているのは、内部で自分自身をフロン
Must ==== add Object#must method to constrain its origin and conversions # can write like this num = params[:num].to_i.must.match(1..300) {10} # rather than num = params[:num].to_i num = 10 unless (1..300) === num and has duck-type features 1.must.duck?(:to_s) # => true io.must.duck(:write) { io.extend Writable } and has struct assetions pages = [{:name=>"...", :url=>"...",} ...] pages.must.struct
zentest autotest and much more Description ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby. ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. Nobody uses this tool anymore but it is the package namesake, so it stays. unit_diff is a c
このドメインは お名前.com から取得されました。 お名前.com は GMOインターネットグループ(株) が運営する国内シェアNo.1のドメイン登録サービスです。 ※表示価格は、全て税込みです。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く