SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
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 "fmsadmin                    ID   499            " do

  `dscl . -read /Groups/fmsadmin PrimaryGroupID | awk '{print $2}'`.chomp.to_i.should == 499

 end

end
#!/usr/bin/env ruby -Ku

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



describe "FileMaker Server        11   " do

 it "                                         " do

  pending("                  ")

 end

end
• spec ./sample_test.rb -f specdoc -c
•
•
•
•

• More Agile!
•

•
URL



• http://rspec.info/
• http://jp.rubyist.net/magazine/?0021-Rspec

Mais conteúdo relacionado

Destaque

Destaque (20)

FileMaker Server Admin ConsoleとJavaの互換性まとめ(2014年版)
FileMaker Server Admin ConsoleとJavaの互換性まとめ(2014年版)FileMaker Server Admin ConsoleとJavaの互換性まとめ(2014年版)
FileMaker Server Admin ConsoleとJavaの互換性まとめ(2014年版)
 
Mac版FileMaker Serverで使えるコマンドライン活用レシピ
Mac版FileMaker Serverで使えるコマンドライン活用レシピMac版FileMaker Serverで使えるコマンドライン活用レシピ
Mac版FileMaker Serverで使えるコマンドライン活用レシピ
 
Webアプリケーションフレームワークを利用した効率的なカスタムWeb開発
Webアプリケーションフレームワークを利用した効率的なカスタムWeb開発Webアプリケーションフレームワークを利用した効率的なカスタムWeb開発
Webアプリケーションフレームワークを利用した効率的なカスタムWeb開発
 
「安全なウェブサイトの作り方」を読もう
「安全なウェブサイトの作り方」を読もう「安全なウェブサイトの作り方」を読もう
「安全なウェブサイトの作り方」を読もう
 
iPad & iPhoneからのリモートアクセスをより安全にするネットワーク構築術
iPad & iPhoneからのリモートアクセスをより安全にするネットワーク構築術iPad & iPhoneからのリモートアクセスをより安全にするネットワーク構築術
iPad & iPhoneからのリモートアクセスをより安全にするネットワーク構築術
 
Get ( 持続 ID ) 関数の罠
Get ( 持続 ID ) 関数の罠Get ( 持続 ID ) 関数の罠
Get ( 持続 ID ) 関数の罠
 
FileMaker 13.0v9の修正点に関する考察
FileMaker 13.0v9の修正点に関する考察FileMaker 13.0v9の修正点に関する考察
FileMaker 13.0v9の修正点に関する考察
 
PHP 5.4のビルトインウェブサーバー
PHP 5.4のビルトインウェブサーバーPHP 5.4のビルトインウェブサーバー
PHP 5.4のビルトインウェブサーバー
 
FileMaker Serverのバックアップ機能の徹底活用法
FileMaker Serverのバックアップ機能の徹底活用法FileMaker Serverのバックアップ機能の徹底活用法
FileMaker Serverのバックアップ機能の徹底活用法
 
FileMaker Server 13の新機能と変更点
FileMaker Server 13の新機能と変更点FileMaker Server 13の新機能と変更点
FileMaker Server 13の新機能と変更点
 
SSL暗号化通信を利用したネットワークセキュリティの向上
SSL暗号化通信を利用したネットワークセキュリティの向上SSL暗号化通信を利用したネットワークセキュリティの向上
SSL暗号化通信を利用したネットワークセキュリティの向上
 
FileMaker Server管理者のためのserverspec入門
FileMaker Server管理者のためのserverspec入門FileMaker Server管理者のためのserverspec入門
FileMaker Server管理者のためのserverspec入門
 
FileMaker Pro 14.0.3とワイルドカードSSLサーバー証明書
FileMaker Pro 14.0.3とワイルドカードSSLサーバー証明書FileMaker Pro 14.0.3とワイルドカードSSLサーバー証明書
FileMaker Pro 14.0.3とワイルドカードSSLサーバー証明書
 
FileMaker 12 セキュリティ更新に関する考察
FileMaker 12 セキュリティ更新に関する考察FileMaker 12 セキュリティ更新に関する考察
FileMaker 12 セキュリティ更新に関する考察
 
SSL暗号化通信を利用したネットワークセキュリティの向上
SSL暗号化通信を利用したネットワークセキュリティの向上SSL暗号化通信を利用したネットワークセキュリティの向上
SSL暗号化通信を利用したネットワークセキュリティの向上
 
Mac OS X ServerのWebサービスとSSL暗号化通信
Mac OS X ServerのWebサービスとSSL暗号化通信Mac OS X ServerのWebサービスとSSL暗号化通信
Mac OS X ServerのWebサービスとSSL暗号化通信
 
INTER-Mediator 5.1の新機能
INTER-Mediator 5.1の新機能INTER-Mediator 5.1の新機能
INTER-Mediator 5.1の新機能
 
INTER-Mediator 5.0
INTER-Mediator 5.0INTER-Mediator 5.0
INTER-Mediator 5.0
 
INTER-Mediatorのポータルアクセスモード
INTER-MediatorのポータルアクセスモードINTER-Mediatorのポータルアクセスモード
INTER-Mediatorのポータルアクセスモード
 
Exifの画像方向情報
Exifの画像方向情報Exifの画像方向情報
Exifの画像方向情報
 

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

Deploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRubyDeploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRuby
Joe Kutner
 
Virtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + PuppetVirtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + Puppet
Omar Reygaert
 

Semelhante a テスティングフレームワークとサーバー運用 (20)

Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
 
DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜
DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜
DBA だってもっと効率化したい!〜最近の自動化事情とOracle Database〜
 
#CNX14 - Using Ruby for Reliability, Consistency, and Speed
#CNX14 - Using Ruby for Reliability, Consistency, and Speed#CNX14 - Using Ruby for Reliability, Consistency, and Speed
#CNX14 - Using Ruby for Reliability, Consistency, and Speed
 
Will iPython replace Bash?
Will iPython replace Bash?Will iPython replace Bash?
Will iPython replace Bash?
 
Will iPython replace bash?
Will iPython replace bash?Will iPython replace bash?
Will iPython replace bash?
 
Kamailioworld 2018 - Modular and test driven SIP Routing with Lua
Kamailioworld 2018 - Modular and test driven SIP Routing with LuaKamailioworld 2018 - Modular and test driven SIP Routing with Lua
Kamailioworld 2018 - Modular and test driven SIP Routing with Lua
 
Rocket Fuelled Cucumbers
Rocket Fuelled CucumbersRocket Fuelled Cucumbers
Rocket Fuelled Cucumbers
 
MOW2010: 1TB MySQL Database Migration and HA Infrastructure by Alex Gorbachev...
MOW2010: 1TB MySQL Database Migration and HA Infrastructure by Alex Gorbachev...MOW2010: 1TB MySQL Database Migration and HA Infrastructure by Alex Gorbachev...
MOW2010: 1TB MySQL Database Migration and HA Infrastructure by Alex Gorbachev...
 
IPW2008 - my.opera.com scalability
IPW2008 - my.opera.com scalabilityIPW2008 - my.opera.com scalability
IPW2008 - my.opera.com scalability
 
Ruby Kaigi 2008 LT
Ruby Kaigi 2008 LTRuby Kaigi 2008 LT
Ruby Kaigi 2008 LT
 
Rac
RacRac
Rac
 
Deployment Tactics
Deployment TacticsDeployment Tactics
Deployment Tactics
 
Deploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRubyDeploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRuby
 
Linux configer
Linux configerLinux configer
Linux configer
 
Build Automation of PHP Applications
Build Automation of PHP ApplicationsBuild Automation of PHP Applications
Build Automation of PHP Applications
 
2010 Smith Scripting101
2010 Smith Scripting1012010 Smith Scripting101
2010 Smith Scripting101
 
あなたの知らないネットワークプログラミングの世界
あなたの知らないネットワークプログラミングの世界あなたの知らないネットワークプログラミングの世界
あなたの知らないネットワークプログラミングの世界
 
20150317 firefox os_studymtg_engver
20150317 firefox os_studymtg_engver20150317 firefox os_studymtg_engver
20150317 firefox os_studymtg_engver
 
Virtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + PuppetVirtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + Puppet
 
Docker composeで開発環境をメンバに配布せよ
Docker composeで開発環境をメンバに配布せよDocker composeで開発環境をメンバに配布せよ
Docker composeで開発環境をメンバに配布せよ
 

Mais de Atsushi Matsuo

Mais de Atsushi Matsuo (20)

FMPress Formsの紹介とバージョン1.0.2の変更点
FMPress Formsの紹介とバージョン1.0.2の変更点FMPress Formsの紹介とバージョン1.0.2の変更点
FMPress Formsの紹介とバージョン1.0.2の変更点
 
Claris FileMaker Server for Linux 入門
Claris FileMaker Server for Linux 入門Claris FileMaker Server for Linux 入門
Claris FileMaker Server for Linux 入門
 
FMPress Formsの紹介
FMPress Formsの紹介FMPress Formsの紹介
FMPress Formsの紹介
 
fmcsadmin 1.3.0の新機能
fmcsadmin 1.3.0の新機能fmcsadmin 1.3.0の新機能
fmcsadmin 1.3.0の新機能
 
Integromatを使いノーコードでkintoneのレコードを作成
Integromatを使いノーコードでkintoneのレコードを作成Integromatを使いノーコードでkintoneのレコードを作成
Integromatを使いノーコードでkintoneのレコードを作成
 
INTER-Mediator 5.12とClaris FileMaker Server
INTER-Mediator 5.12とClaris FileMaker ServerINTER-Mediator 5.12とClaris FileMaker Server
INTER-Mediator 5.12とClaris FileMaker Server
 
オフライン環境でもkintoneのデータを活用する方法
オフライン環境でもkintoneのデータを活用する方法オフライン環境でもkintoneのデータを活用する方法
オフライン環境でもkintoneのデータを活用する方法
 
fmcsadmin 1.2.0の新機能
fmcsadmin 1.2.0の新機能fmcsadmin 1.2.0の新機能
fmcsadmin 1.2.0の新機能
 
Claris FileMaker Server 管理者が知っておきたい Infrastructure as Code
Claris FileMaker Server 管理者が知っておきたい Infrastructure as CodeClaris FileMaker Server 管理者が知っておきたい Infrastructure as Code
Claris FileMaker Server 管理者が知っておきたい Infrastructure as Code
 
Claris FileMaker Server 19.2で拡張されたFileMaker Admin API
Claris FileMaker Server 19.2で拡張されたFileMaker Admin APIClaris FileMaker Server 19.2で拡張されたFileMaker Admin API
Claris FileMaker Server 19.2で拡張されたFileMaker Admin API
 
FileMaker Server for LinuxでAD FSによる外部認証
FileMaker Server for LinuxでAD FSによる外部認証FileMaker Server for LinuxでAD FSによる外部認証
FileMaker Server for LinuxでAD FSによる外部認証
 
fmcsadmin 1.1.0
fmcsadmin 1.1.0fmcsadmin 1.1.0
fmcsadmin 1.1.0
 
Claris FileMaker Server 19の新機能と改善点
Claris FileMaker Server 19の新機能と改善点Claris FileMaker Server 19の新機能と改善点
Claris FileMaker Server 19の新機能と改善点
 
macOS版VirtualBoxにCentOS Linux 7をインストール
macOS版VirtualBoxにCentOS Linux 7をインストールmacOS版VirtualBoxにCentOS Linux 7をインストール
macOS版VirtualBoxにCentOS Linux 7をインストール
 
FileMaker Server 18とJava
FileMaker Server 18とJavaFileMaker Server 18とJava
FileMaker Server 18とJava
 
SSL暗号化通信を利用したネットワークセキュリティの向上(2020年版)
SSL暗号化通信を利用したネットワークセキュリティの向上(2020年版)SSL暗号化通信を利用したネットワークセキュリティの向上(2020年版)
SSL暗号化通信を利用したネットワークセキュリティの向上(2020年版)
 
Integromatを使いkintoneからSlackに通知を送る
Integromatを使いkintoneからSlackに通知を送るIntegromatを使いkintoneからSlackに通知を送る
Integromatを使いkintoneからSlackに通知を送る
 
fmcsadmin 1.0.0
fmcsadmin 1.0.0fmcsadmin 1.0.0
fmcsadmin 1.0.0
 
XMLPasteの紹介
XMLPasteの紹介XMLPasteの紹介
XMLPasteの紹介
 
FileMaker Admin API の使い方と活用方法
FileMaker Admin API の使い方と活用方法FileMaker Admin API の使い方と活用方法
FileMaker Admin API の使い方と活用方法
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

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