Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android_Architecture_Componentとテスト.pdf

39617c45ff7562dd0c990ddb53df4c17?s=47 Toshihiro OYA
June 21, 2018
940

 Android_Architecture_Componentとテスト.pdf

2018/06/21 Android Test Night #4

39617c45ff7562dd0c990ddb53df4c17?s=128

Toshihiro OYA

June 21, 2018
Tweet

Transcript

  1. "SDIJUFDUVSF$PNQPOFOU ͱςετ 5PTIJIJSP0:" !UPTIJIJSPPZB "OESPJE5FTU/JHIU

  2. w ໊લɿ5PTIJIJSP0:"େ԰ढ़߂ w 4/4ɿ!UPTIJIJSPPZB w ৬ۀɿ"OESPJEΤϯδχΞʢ೥໨ʣ w ॴଐɿσΟοϓגࣜձࣾ w ۀ຿ɿ࠷ۙJ04΋ۀ຿Ͱ΍ͬͯ·͢ɻ"VUP-BZPVUָ͍͠ʂ

    ϓϩϑΟʔϧ
  3. "SDIJUFDUVSF$PNQPOFOU IFSF

  4. "SDIJUFDUVSF$PNQPOFOU ಋೖ͞Εͯ·͢ʁ

  5. ฐࣾ͸͜Ε͔ΒͰ͢ʜ

  6. w "SDIJUFDUVSF$PNQPOFOUͷಋೖʹΑΓςετέʔε͕ Ͳ͏มΘΔͷ͔ߟ͑Δɻ w (PPHMFαϯϓϧͷ"SDIJUFDUVSF$PNQPOFOUʹΑΔΞϓ ϦͷઃܭΛͬ͘͟Γ௥͏ɻ w "SDIJUFDUVSF$PNQPOFOUΛΞϓϦʹಋೖ͢ΔࣄͰͲ͏ ͍ͬͨςετ؍఺͕௥Ճ͞ΕΔͷ͔ΛݟͯΈΔɻ ຊ೔ͷझࢫ

  7. (JUIVC#SPXTFS4BNQMFΞϓϦ֓ཁ HPPHMFTBNQMFTBOESPJEBSDIJUFDUVSFDPNQPOFOUT 4FBSDIը໘ 3FQPը໘ 6TFSը໘

  8. (JUIVC#SPXTFS4BNQMFΞϓϦ HPPHMFTBNQMFTBOESPJEBSDIJUFDUVSFDPNQPOFOUT 6*૚ %PNBJO૚ %B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*OTUSVNFOUFE5FTU w UFTU-PBEJOH w UFTU7BMVF8IJMF-PBEJOH w UFTU-PBEFE w UFTU&SSPS w

    UFTU$POUSJCVUPST w UFTU$POUSJCVUPS$MJDL w OVMM3FQP w OVMM$POUSJCVUPST *OTUSVNFOU5FTU͸جຊతʹ͸-JWF%BUBʹ QPTUͯ͠&TQSFTTPͰදࣔ֬ೝɻ
  17. w 6OJU5FTUͰ͸-JWF%BUBPCTFSWF'PSFWFS Λ࣮ߦͯ͠ৗʹ௨஌ ͕དྷΔΑ͏ʹઃఆͯ͠ςετͯ͠Δɻ w ౰વ͚ͩͲ6OJU5FTUͰ͸-JWF%BUBͷมߋ௨஌λΠϛϯάͰͷ $MBTTؒ 7JFX.PEFM3FQPTJUPSZ Ͱͷݺͼग़͠νΣοΫʹͳͬ ͍ͯͨɻ

    w *OTUSVNFOU5FTUͰ͸7JFX.PEFMͷ-JWF%BUBʹQVMMͯ͠'SBHNFOU ʹ௨஌ͤ͞7JFXʹ͍ͭͯͷςετΛ&TQSFTTPͰ࣮ߦ͍ͯͨ͠ɻ w *OTUSVNFOU5FTUͰ͸-JGF$ZDMFΛมߋͯ͠௨஌ͷνΣοΫͱ͔΋ ΍Δඞཁ͕ػೳʹΑͬͯ͸͋Δ͔΋ɻɻɻҟৗܥʁ -JWF%BUBಋೖʹΑΔςετ؍఺ͷมߋ·ͱΊ
  18. &/%