SlideShare a Scribd company logo
1 of 25
Download to read offline
yonex(仮)
- Integration test more   easily
                               -
自己紹介

名前
 米林 正明
ID
 id:yone098
所属
 株式会社Abby 代表取締役社長
自己紹介

正体
俳句マスター
始めに

会場提供
株式会社フルネス
 http://www.fullness.co.jp/

機会提供
古川 正寿 代表取締役社長
一句


フルネスと
古川社長に
超感謝❤
Agenda

What is yonex?
SeleniumRC/cargo
usage/sample
demo
yonex


What is yonex?
What is yonex?
Seleniumを使ってブラウザでテスト
  WebアプリのUI動作確認には必須
integration testをもっと手軽に
  実案件で開発しながら即テスト
  テストメソッド毎にブラウザでテスト
FlexやAppletのテスト
  リッチな画面もブラウザでテスト
初心者にもテストを楽しく感じてもらう
  ソースシンプル
  使い方も極力シンプル
What is yonex?
yonexの構成
     の
 SeleniumTestCase
   Seleniumを使う際の事前準備を行う親クラス
   画面キャプチャやFlexテスト用のオブジェクトを用意
 ExternalInterfaceDispatcher
   Flex用ユーティリティ
   yonex連携を容易にする
 Maven2用のpom.xml
   Maven2でcargoを使ってテストする際の雛型
   T2で実績(以下の雛型は用意済)
    •   Jetty6x
    •   Tomcat5x, Tomcat6x
    •   JBoss4x, JBoss5x
    •   WebLogic10x
yonex


Selenium/cargo
SeleniumRC/cargo
SeleniumRC
 仮想プロキシサーバ・Webブラウザ操作
   SeleniumServer(SeleniumCore内包)
   ClientDriver
   http://seleniumhq.org/projects/remote-control/
Cargo
 複数J2EEコンテナ用ラッパーアプリケーション
   Antタスク,Maven1/2 pluginsを提供
   コンテナの起動・停止・設定用API提供
   http://cargo.codehaus.org/Home
yonex


usage/sample
usage/sample

   the easiest
>svn co https://t-2.googlecode.com/svn/trunk/samples/t2-it-samples

>cd t2-it-samples

>mvn integration-test –P tomcat6x
usage/sample

Eclipse
public class HelloTest extends SeleniumTestCase {
  public void testHello() throws Exception {
   selenium.open(quot;t2-samples/index.jspquot;);

        assertEquals(quot;T2 Samplequot;, selenium.getTitle());

        captureScreen(quot;HelloJsp.pngquot;);
    }
}
usage/sample

capture image(png)
usage/sample

Flex
import flash.external.ExternalInterface;

ExternalInterface.addCallback(quot;setArgsquot;, setArgs);
ExternalInterface.addCallback(quot;calculatequot;, calculate);
ExternalInterface.addCallback(quot;getResultquot;, getResult);
usage/sample

Eclipse-Flex
public class FlexTest extends SeleniumTestCase {
  public void testFlex() throws Exception {
    selenium.open(quot;t2-samples/flex.jspquot;);
    // idを指定しFlash用オブジェクト生成
    FlashObject flashApp =
         new FlashObject(selenium, quot;flexCalcquot;);
    flashApp.call(quot;setArgsquot;, quot;100quot;, quot;123quot;);
    captureScreen(“Flex.pngquot;);
  }
}
usage/sample

capture image(png)
usage/sample

Flex
<local:ExternalInterfaceDispatcher/>

Eclipse-Flex
public void testFlex() throws Exception {
    FlashObject flashApp =
        new FlashObject(selenium, quot;flexCalcquot;);
  flashApp.call(“$setquot;, “arg1.textquot;, quot;123quot;);
  flashApp.call(“$clickquot;, “calcquot;);
  flashApp.call(“$invokequot;, “testquot;);
}
usage/sample

実績
実案件のUIテストのエビデンス
yonex


demo
yonex

まとめ
簡単にUIテスト
 出来る
 • いいかも
要望

名前募集(候補)
 t2-it
 そのまま

 tide
 T2 Integration-test Development Environment

 yonex(by 太一)
 Yet anOther Network testing Enviroment eXtension
予定

リリース
 近々
 現在SNAPSHOT

タスク
 ドキュメント
 要望の実装
yonex


  ご清聴
 ありがとう
ございました

More Related Content

Viewers also liked (8)

Fecha
FechaFecha
Fecha
 
Aralar Gasteiz - BAI Center
Aralar Gasteiz - BAI CenterAralar Gasteiz - BAI Center
Aralar Gasteiz - BAI Center
 
Practico de pitágoras 3º 2011
Practico de pitágoras 3º   2011Practico de pitágoras 3º   2011
Practico de pitágoras 3º 2011
 
Redaccion
RedaccionRedaccion
Redaccion
 
Sketchupmodels
SketchupmodelsSketchupmodels
Sketchupmodels
 
Art i disseny a la xarxa
Art i disseny a la xarxaArt i disseny a la xarxa
Art i disseny a la xarxa
 
Q1
Q1Q1
Q1
 
Examen de computación
Examen de computaciónExamen de computación
Examen de computación
 

Similar to yonex

【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
devsumi2009
 
Itpub电子杂志(第二期)
Itpub电子杂志(第二期)Itpub电子杂志(第二期)
Itpub电子杂志(第二期)
yiditushe
 
20090313 Cakephpstudy
20090313 Cakephpstudy20090313 Cakephpstudy
20090313 Cakephpstudy
Yusuke Ando
 

Similar to yonex (20)

Spring Framework勉強会
Spring  Framework勉強会Spring  Framework勉強会
Spring Framework勉強会
 
spring_jiaocheng
spring_jiaochengspring_jiaocheng
spring_jiaocheng
 
Spring基础教程
Spring基础教程Spring基础教程
Spring基础教程
 
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
 
Jslunch6
Jslunch6Jslunch6
Jslunch6
 
S2Flex2
S2Flex2S2Flex2
S2Flex2
 
Itpub电子杂志(第二期)
Itpub电子杂志(第二期)Itpub电子杂志(第二期)
Itpub电子杂志(第二期)
 
20090410 Gree Opentech Main
20090410 Gree Opentech Main20090410 Gree Opentech Main
20090410 Gree Opentech Main
 
Install Moodle
Install MoodleInstall Moodle
Install Moodle
 
Jetpack introduction
Jetpack introductionJetpack introduction
Jetpack introduction
 
jQuery 實戰經驗講座
jQuery 實戰經驗講座jQuery 實戰經驗講座
jQuery 實戰經驗講座
 
20090418 イケテルRails勉強会 第2部Air編 解説
20090418 イケテルRails勉強会 第2部Air編 解説20090418 イケテルRails勉強会 第2部Air編 解説
20090418 イケテルRails勉強会 第2部Air編 解説
 
20090313 Cakephpstudy
20090313 Cakephpstudy20090313 Cakephpstudy
20090313 Cakephpstudy
 
Implementing SSH in Java
Implementing SSH in JavaImplementing SSH in Java
Implementing SSH in Java
 
Ruby on Rails Tutorial Part I
Ruby on Rails Tutorial Part IRuby on Rails Tutorial Part I
Ruby on Rails Tutorial Part I
 
Agileな開発現場での実践例
Agileな開発現場での実践例Agileな開発現場での実践例
Agileな開発現場での実践例
 
Shibuya.abc - Gnashで遊ぼう
Shibuya.abc - Gnashで遊ぼうShibuya.abc - Gnashで遊ぼう
Shibuya.abc - Gnashで遊ぼう
 
Webtests Reloaded - Webtest with Selenium, TestNG, Groovy and Maven
Webtests Reloaded - Webtest with Selenium, TestNG, Groovy and MavenWebtests Reloaded - Webtest with Selenium, TestNG, Groovy and Maven
Webtests Reloaded - Webtest with Selenium, TestNG, Groovy and Maven
 
GAE/J 開発環境でJDO入門
GAE/J 開発環境でJDO入門GAE/J 開発環境でJDO入門
GAE/J 開発環境でJDO入門
 
Nginx常见应用技术指南(Nginx Tips)
Nginx常见应用技术指南(Nginx Tips)Nginx常见应用技术指南(Nginx Tips)
Nginx常见应用技术指南(Nginx Tips)
 

More from Masaaki Yonebayashi (14)

Go guide for Java programmer
Go guide for Java programmerGo guide for Java programmer
Go guide for Java programmer
 
HHVM Hack
HHVM HackHHVM Hack
HHVM Hack
 
Android T2 on cloud
Android T2 on cloudAndroid T2 on cloud
Android T2 on cloud
 
JavaFX-with-Adobe
JavaFX-with-AdobeJavaFX-with-Adobe
JavaFX-with-Adobe
 
Guice2.0
Guice2.0Guice2.0
Guice2.0
 
Flex's DI Container
Flex's DI ContainerFlex's DI Container
Flex's DI Container
 
T2 in Action
T2 in ActionT2 in Action
T2 in Action
 
guice-servlet
guice-servletguice-servlet
guice-servlet
 
T2@java-ja#toyama
T2@java-ja#toyamaT2@java-ja#toyama
T2@java-ja#toyama
 
Merapi -Adobe Air<=>Java-
Merapi -Adobe Air<=>Java-Merapi -Adobe Air<=>Java-
Merapi -Adobe Air<=>Java-
 
sc2009white_T2
sc2009white_T2sc2009white_T2
sc2009white_T2
 
sc2009white_Teeda
sc2009white_Teedasc2009white_Teeda
sc2009white_Teeda
 
Teeda
TeedaTeeda
Teeda
 
Wankumatoyama#01
Wankumatoyama#01Wankumatoyama#01
Wankumatoyama#01
 

Recently uploaded

+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@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
+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...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 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...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

yonex