Your SlideShare is downloading. ×
0
2010/10/10
FM-Tokyo
•
    •
    •
    •
•
•
•
•

•
    ……

•
RSpec


•
    • Behaviour Driven Development for
      Ruby
(Mac)



• sudo gem install rspec
Demo
#!/usr/bin/env ruby -Ku

# -*- coding: UTF-8 -*-



describe "FileMaker Server             10            " do

 it "fmsadm...
#!/usr/bin/env ruby -Ku

# -*- coding: UTF-8 -*-



describe "FileMaker Server        11   " do

 it "                    ...
• spec ./sample_test.rb -f specdoc -c
•
•
•
•

• More Agile!
•

•
URL



• http://rspec.info/
• http://jp.rubyist.net/magazine/?0021-Rspec
Upcoming SlideShare
Loading in...5
×

テスティングフレームワークとサーバー運用

2,270

Published on

2010/10/10 FileMaker Pro 東京ユーザーズミーティング LT発表資料

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,270
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "テスティングフレームワークとサーバー運用"

  1. 1. 2010/10/10 FM-Tokyo
  2. 2. • • • •
  3. 3. • • •
  4. 4. • • …… •
  5. 5. RSpec • • Behaviour Driven Development for Ruby
  6. 6. (Mac) • sudo gem install rspec
  7. 7. Demo
  8. 8. #!/usr/bin/env ruby -Ku # -*- coding: UTF-8 -*- describe "FileMaker Server 10 " do it "fmsadmin ID 499 " do `dscl . -read /Groups/fmsadmin PrimaryGroupID | awk '{print $2}'`.chomp.to_i.should == 499 end end
  9. 9. #!/usr/bin/env ruby -Ku # -*- coding: UTF-8 -*- describe "FileMaker Server 11 " do it " " do pending(" ") end end
  10. 10. • spec ./sample_test.rb -f specdoc -c
  11. 11. • • •
  12. 12. • • More Agile!
  13. 13. • •
  14. 14. URL • http://rspec.info/ • http://jp.rubyist.net/magazine/?0021-Rspec
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×