Eureka EngineeringLearn about Eurekaâs engineering efforts, product developments and more.
Eureka EngineeringLearn about Eurekaâs engineering efforts, product developments and more.
About the content This content has been published here with the express permission of the author. Testing almost always helps catching bugs and write better code, but it can be a huge pain without a proper framework and setup. At the Bay Area Android Dev Group meeting, Ellen Shapiro explains how to super-charge your Android testing, including UI testing, with JUnit 4 and Espresso 2. She demonstrat
ããã«ã¡ã¯ãsparkgeneã§ãã å æ¥çºè¡¨ãããAWS Device FarmããiOSã«ã対å¿ããã¨ãããã¨ã§ã試ãã¦ã¿ã¾ããã AWS Device Farmã¨ã¯ ã¢ããªã®å質åä¸ã«å½¹ç«ã¤ãã¹ããè¡ã£ã¦ããããµã¼ãã¹ã§ãã 対称ã¨ãªãã®ã¯ãAndroidãFire OSãiOSã é常éçºããæã¯ãæ§ã ãªããã¤ã¹ã¨OSãã¼ã¸ã§ã³ãçµã¿åããã¦ãã¹ããè¡ãã®ã§ããããã®çºã«ã¯å¤ãã®ãã¹ãç¨ç«¯æ«ãä¿æãã¦ããå¿ è¦ããããæ°ããã¢ããåºãã°è²·ã足ãå¿ è¦ãããã¾ãã ãããããã®ãµã¼ãã¹ã使ãã¨ãã¢ããªã®ãã¡ã¤ã«ãã¢ãããã¼ããããã¨ã§ãããã¤ã¹ã¨OSã®è¤æ°ã®çµã¿åããã«å¯¾ãã¦ãã¹ããå®è¡ãããã¨ãåºæ¥ã¾ãã ã¢ããªã®æºå ä»åãã¹ãã«ä½¿ãã®ã¯ãXcodeã§æ°è¦ããã¸ã§ã¯ãã追å ããã¨ãã«é¸ã¹ããã³ãã¬ã¼ãã®ä¸ãããSingle View Applicationããã®ã¾ã¾ä½¿ã£ã¦ãã¾ãã D
Amazon Web Servicesã¯ãç±³ãã¥ã¼ã¨ã¼ã¯ã§éå¬ä¸ã®ãAWS Summit 2015 New Yorkãã®åºèª¿è¬æ¼ã§ãAWS Device Farmããçºè¡¨ãã¾ããã åºèª¿è¬æ¼ã§ç´¹ä»ãããå 容ã®ãã¤ã³ããç´¹ä»ãã¾ãã ã¢ãã¤ã«ããã¤ã¹ã®å®æ©ã大éã«ä¸¦ã¹ã¦ãã¹ã AWS Device Farmã¯ããã¾ãã¾ãªç¨®é¡ã®æ¬ç©ã®ããã¤ã¹ã大éã«ä¸¦ã¹ã¦èªåçã«ãã¹ããå®è¡ãããµã¼ãã¹ã
Androidã§è¯ãæãã«ãã¹ãããããã«ããããããããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã試ãã¦é¸å®ãã¦ã¿ãã ç°å¢ OS X Android Studio 1.0.2 ãã¹ãç¨ãµã³ãã«ã¢ããª å ¥åãããå¤ã足ãã¦è¡¨ç¤ºããã ãã®ãµã³ãã«ã¢ããªï¼ã¢ã¯ãã£ããã£ãè·¨ãã ãã¹ãããããã®ã§2ç»é¢æ§æï¼ã ãªãã¸ã㪠https://github.com/shikato/AndroidTestSample ä»åã¯ãã®ã¢ããªã«å¯¾ãã¦ãã¹ãããã ãã¸ãã¯ã®ãã¹ã Android Testing Framework æ¨æºã§JUnitãã¼ã¹ã®Android Testing Frameworkã使ããã ããã¾ã§ã¯JUnit3ãã¼ã¹ã ã£ããã©ãæè¿JUnit4ãAndroid support libraryã«å«ã¾ããããã«ãªããJUnit4ãªè¨è¿°ã§ãç°¡åã«æ¸ããããã«ãªã£ãã JUnit4ã®å°å ¥ Android
ãã®è¨äºã¯ãªã¯ã«ã¼ããã¯ããã¸ã¼ãºã¢ããã³ãã«ã¬ã³ãã¼24æ¥ç®ã®è¨äºã§ãï¼ ç§ãæå±ããã¹ãã¼ãããã¤ã¹ã°ã«ã¼ãã§è¡ã£ã¦ãã Androidã¢ããªéçºã«ããããèªåãã¹ããã®è©¦ã¿ã«ã¤ãã¦ç´¹ä»ãã¾ãã UiAutomatorãç¨ããå ¨èªåã¢ã³ãã¼ãã¹ããã¼ã«ã®éçº ç»é¢å ã®Uiãªãã¸ã§ã¯ããèªå解æãããã¨ã§ã ã¯ã©ãã·ã¥æ¤ç¥ãç®çã¨ãããé©ç¨ã³ã¹ãï¼ã§ã¢ããªã®å質åä¸ã«å¯ä¸ã§ãããèªåãã¹ããã¼ã«ãéçºãã¦ãã¾ãã ãã®è¨äºã§ã¯ãã®ãã¼ã«ã«ã¤ãã¦ç´¹ä»ããã¦ããã ãã¾ãã UiAutomatorã«ã¤ã㦠æ¬ãã¼ã«ã¯ UiAutomatorã¨ãããAndroid SDKã«å«ã¾ãã¦ãããã¹ãèªååãã¼ã«ã®æ©è½ã主ã«ç¨ãã¦ä½ã£ã¦ãã¾ãã UiAutomatorã®æ©è½ã¨ãã¦ã¯ç»é¢ä¸ã®UIæ å ±ã®åå¾ãå種ã¿ãã/ãã³ã°ã¿ãã/ã¹ã¯ã¤ããªã©ã®ã¤ãã³ãã®ã·ãã¥ã¬ã¼ãããã¼ããã¼ã®æ¼ä¸ãæåå ¥åãã¹ã¯ãªã¼ã³
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? iOSåãã©ã¤ãã©ãª/ã¢ããªã®åä½ãã¹ãææ³ã«ã¤ãã¦èª¿æ»ããå 容ã®ã¡ã¢ãï¼Objective-Cåæã§ãããï¼ Mantle 1.5 URL https://github.com/Mantle/Mantle/tree/1.5 æ§æ ãã¹ã¦Spectaãå©ç¨ããè¨è¿° Spectaéçºå ãªã®ã§Spectaå©ç¨ã®åèã«ãªã ç°å¢å®ç¾©ç¨ã¯ã©ã¹ã¯ãªã pchãã¡ã¤ã«ã§è£å©ãã¼ã«ã®ã¤ã³ãã¼ã ãã¹ãå®è¡ TravisCIå©ç¨ CIç¨ã®ã¹ã¯ãªãããå®ç¾© è£å©ãã¼ã« Expecta Specta Octokit 0.5 URL https://gith
æè¡é¨ã®æ¾å°¾(@Kazu_cocoa)ã§ãã iOSã¢ããªãã¶ã¤ã³ãªãã¥ã¼ã¢ã«ã®èå°è£ã§ãæ¸ããã¦ããã" ä¿®æ£æéä¸ã¯æ¯æ¥å¤éã«ã¢ããªã±ã¼ã·ã§ã³ã®å ¨ç»é¢ã®ã¹ã¯ãªã¼ã³ã·ã§ãããè¨é²ããã¹ã¯ãªãããå®è¡ããç»é¢å´©ããèµ·ãã¦ãªãããæ°ãã¶ã¤ã³æªåæ ã®ç»é¢ã¯ãªãããé²æç¶æ³ã®ç¢ºèªã«å©ç¨ãã¦ãã¾ããã"ã®èå°è£ãå°ãæ¸ãã¦ã¿ããã¨æãã¾ãã ã¯ããã« ã¢ãã¤ã«ã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãç°å¢ã¯ã¾ã ã¾ã æé·ä¸ã§ãæ§ã ãªãã¼ã«ãé£ã³äº¤ã£ã¦ãããã¨ãã¨æãã¾ããããã§ã¯ãE2Eãã¹ãã«å¯¾ãã¦ã®è©±é¡ã«çµãã使ã£ã¦ãããã¼ã«ãã·ããªãªã®æ¸ãæ¹ãã¯ãã¯ãããã§ã¯ãã¨ãã話ãããã¾ãããã®è¨äºã«ãããE2Eãã¹ãã¯ãUIããã®æä½ã«ããã¦ã¼ã¶ã®æä½ã模å£ãã¦å®æ½ãããã¹ããã¨ããæå³åãã§ãã ãã¼ã« E2Eãã¹ããèªååããçºã®ãã¼ã«ã®é¸å®ã«ã¯ä»¥ä¸ãæ°ã«ãã¦ãã¾ããã OSã®æ´æ°ã«è¿½å¾ã§ããããªãã® ç¹å¥ãªãã¹ã
ã¢ããªã±ã¼ã·ã§ã³ã®ç»é¢ã«å¯¾ãã¦ãã¿ã³ãæ¼ãããå ¥åãè¡ããæ£ããçµæãçããè¿ã£ã¦ãããï¼ ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå«ããã¹ãã³ã¼ãã®éçºã¯ä¸è¬ã«æéããããé¢åã§ããããã¹ãç¨ã®ã©ã¤ãã©ãªããã¬ã¼ã ã¯ã¼ã¯ãæ¬ ããã¾ããã Googleã¯ãAndroidç¨ã®UIãã¹ãèªååã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ãEspressoãããã¯ããã¸ã¼ãã¬ãã¥ã¼ã¨ãã¦å ¬éãã¾ããã Espresso - android-test-kit - a fun little Android UI test API - Testing Tools For Android - Google Project Hosting Espressoã¯ããã¾ã§Google社å ã§ãGoogle DriveãGoogle MapsãGoogle+ãªã©30種é¡ã®ã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãèªååã«ä½¿ããã¦ãã¾ããã ç¹å¾´ã¯ã軽éã§ã·ã³ãã«ãªè¨è¿°
ããã¯ä¸åæ²¢ãªã¼ãã³ã½ã¼ã¹ã«ãã§ã§éããã¦ããiOSã®åå¼·ä¼ãiOSé¨ã§ã®çºè¡¨è³æãå ¼ãã¦ãã¾ãã iOSé¨ã®ãªã³ã¯ã¯ãã¡ããhttps://www.facebook.com/events/578494952182260/ Appiumã¨ã¯ SeleniumIDEãã¼ã¹ã®ãGoogle製ã®NativeDriver ã©ã¤ã¯ãªãã® åä½ããåãå ¥ããã¹ããèªåå®è¡ãããã¨ãã§ãã ã·ãã¥ã¬ã¼ã¿ã¨ãæ¬ä½ï¼ã ã£ãã¯ãï¼ã§ãã¹ããå¯è½ iOSã®NativeDriverã¯iOS4ã§éçºãæ¢ã¾ã£ã¦ãã å®è³ª ãã¹ãã§æ¸ããè¨èªã¯ä»¥ä¸ Java Javascript(Node) php python Ruby(Rspec) Rubyã§ãã¹ããæ¸ããï¼ Rubyã§ãã¹ããæ¸ããï¼ï¼ï¼ï¼ Rubyã§æ¸ãå ´åã¯ãSeleniumã®Rubyã®ã©ãããè¸è¥²ãã¦ããããã https://code.google.co
ã¯ããã« Rails ã¢ããªã® JavaScript ã®ãã¹ã㯠capybara(+capybara-webkit) ã使ãã°ä¸å¿ã§ãããã©ãçµ±åãã¹ããªã®ããâ¦ãçµ±åãã¹ããã¡ããã¨æ¸ããã©ãããããã®ã¯ JavaScript ã®åä½ãã¹ããªã®ã«ã ãã㧠Evergreen ãããªä¸ã§æè¿ç¥ã£ãã®ã Evergreen ã£ã¦ãã gemã jnicklas/evergreen · GitHub ããã¤ãç°¡åã«èª¬æããã¨ãRails ã«çµã¿è¾¼ãã Jasmine ãã¹ãã©ã³ãã¼ãJasmine ãå梱ããã¦ãã®ã§ãã¤ã³ã¹ãã¼ã«ããã°ããã« JavaScript ã®ãã¹ããæ¸ããã Evergreen ã®ã¤ã³ã¹ãã¼ã« Gemfile ã« group :test, :development do gem "evergreen", :require => "evergreen/rails"
æè¿ã®Ruby on Railsããã¸ã§ã¯ãã§ä½¿ã£ã¦ããã®ã»ãã£ã¦ãããã¨ãç´¹ä»ãã¾ãã rake setupã¡ãã£ã¨åã«ãã®è¨äºãèªãã§ããããã£ããã¤ã§ãã Setting up a new machine for Ruby development by David of 37signals $ git clone git@your-server:you/your-repo.git $ rake setup ããã¨ãéçºã«å¿ è¦ãªç°å¢ãã§ããããã¨ããrake taskãä»ããããã¸ã§ã¯ãã§ã¯ãã¼ã¿ãã¼ã¹ãä½ããªããã¦ãéçºç°å¢ç¨ã®ãã¹ããã¼ã¿ãæå ¥ããã¹ããã¼ã¿ã®ã¾ã¨ããå種URLãªã©ã表示ãã¦ãã¾ãã ä½ããã¼ã¿ãå¤ã«ãªã£ãã¨ããã¾ã£ããã®ç¶æ ããåããããã¨ããããããæã¯ã¨ã«ããrake setupããã°OKã rake setupãä¸çºå©ãã°ã¢ããªããããªãã«åãç¶æ ã«ãªããã£
2012å¹´04æ19æ¥ æè¿ãæ°äººã®ãã¹ãã³ã¼ããè¦ãæ©ä¼ããããã¦ããããã¹ãã®æ¸ãæ¹ã«ã¤ãã¦èããæ©ä¼ããã£ããã¦ããããã¹ãã¯ãã³ãã¬ã¼ãã¿ãããªãã®ãããã®ã§ãããããæ¼ãããã°ã誰ã§ãç°¡åã«æ¸ããã¨ãã§ããã ããã§ã¯ããã®æ¹æ³ã«ã¤ãã¦ç´¹ä»ãããããµã³ãã«ã¯RSpecã§æ¸ããããã®ä»ã®ã¦ããããã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ããå¿ç¨ãã§ããã¨ãããã ã¯ããã«ããåç´åããã¨ããã¹ã対象ã¯ç¶æ ãæã¡ãå ¥åãä¸ããã¨ä½ããã®åºåãè¡ãªããã®ã§ãããå ¥åãå¤ããã°åºåã¯å¤åããããç¶æ ãå¤åããã¨å ¥åãåãã§ãåºåãå¤ããï¼ãããããªãï¼ã ã¦ããããã¹ãã¯ããã¹ã対象ã®ç¶æ ãæä½ããä¸ããå ¥åã«ãã£ã¦æå³éãã®åºåãå¾ããããã確èªããä½æ¥ã®ãã¨ãããããªã®ã§ãã¦ããããã¹ããæ¸ãã¨ãã«ã¯ããªãã¸ã§ã¯ãã®ç¶æ ãã¨ã«ã¡ã½ããåä½ã§å ¥åã¨åºåã確èªããããã«ããã RSpecã®çä¼¼ã³ã¼ãã§æ¸ãã¨
ããã«ã¡ã¯ãã»ããã§ããAsset Pipeline ã«æéãåãã¦ããä»æ¥ãã®é ã§ãã ä»æ¥ã¯ç¤¾å 㧠RSpec ãããããåå¼·ããããã ãã©æ¤ç´¢ãã¦ãããããããªãï¼ã¨è³ªåãåããã®ã§ãèªãã¹ãã¨ã³ããªãã¾ã¨ãã¦ã¿ã¾ããã ï¼ ç¾ç¶ããã㨠RSpec.info ãã¾ãåºã¦ãããã©ããæ´æ°ããã¦ãªãã£ã½ãã®ã§åªãããªããã§ãããâ¦â¦ h2. ããã¯èªãã§ãããï¼ h3. ã¹ã¯ã¹ããã¯ã®ã¹ * âã¹ã¯ã¹ããã¯ã®ã¹ ã第 1 åã RSpec ã®æ¦è¦ã¨ãRSpec on Rails (ã¢ãã«ç·¨)â:http://jp.rubyist.net/magazine/?0021-Rspec * âã¹ã¯ã¹ããã¯ã®ã¹ ã第 2 åã RSpec on Rails (ã³ã³ããã¼ã©ã¨ãã¥ã¼ç·¨)â:http://jp.rubyist.net/magazine/?0023-Rspec å 容ã¯è¥å¹²å¤ãã®ã§ããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}