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

Testing your app with Selenium on Travis CI

Testing your app with Selenium on Travis CI

PHPConference New Zealand edition.

Yusuke Ando

August 29, 2014
Tweet

More Decks by Yusuke Ando

Other Decks in Programming

Transcript

  1. IUUQTKPJOEJOUBMLWJFX
    5FTUJOHZPVS"QQ

    XJUI4FMFOJVNPO5SBWJT$*

    View full-size slide

  2. BCPVUNF
    :VTVLF"OEP
    VTJOHQIQTJODF
    NPOUIMZQIQNFFUVQJO5PLZP
    &OHJOF:BSE+BQBO

    View full-size slide

  3. HJUIVCDPNZBOEPE

    View full-size slide

  4. TFFOFDPVZBOEP

    View full-size slide

  5. DBOEZDBOF
    CPSOPO"QSJM
    QPSUPG3FENJOFUP$BLF1)1GSPN3BJMT
    SFXSJUFSVCZJOUPQIQMJOFCZMJOF
    IPVSTIBDLBUIPO

    View full-size slide

  6. NZUPPMCPY

    1IQ4UPSN
    7BHSBOU
    1)16OJU
    $PNQPTFS
    (JU)VC
    5SBWJT$*
    4FMFOJVN
    $PWFSBMM

    View full-size slide

  7. "HFOEB
    8IZ5SBWJT$*
    0WFSWJFX
    4FMFOJVNPO5SBWJT$*

    View full-size slide

  8. NPSFPGUFOBTQPTTJCMF
    QSPKFDU
    OJHIU
    DPNNJU

    View full-size slide

  9. PO+FOLJOT
    "QQMJDBUJPO"
    "QQMJDBUJPO#
    "QQMJDBUJPO$

    View full-size slide

  10. Application A
    Application B
    Application C

    View full-size slide

  11. %PDLFS—+FOLJOT

    View full-size slide

  12. .travis.yml
    Jenkins
    Java
    Machine
    php db
    I just prefer this way

    View full-size slide

  13. 4"7&%
    BUMFBTUNF

    View full-size slide

  14. $*BTB4FSWJDF
    'FCSVBSZCPSOJO#FSMJO
    .BUIJBT.FZFS+PTI,BMEFSJNJT
    0QFO4PVSDF
    5SBWJT$*

    View full-size slide

  15. %JTUSJCVUFE
    %JTQPTBCMF7.
    QBSBMMFM NVMUJQMFWFSTJPO
    GPSMJCSBSZEFWFMPQFS
    'FBUVSFT

    View full-size slide

  16. $
    $
    $MPKVSF
    &SMBOH
    (P
    (SPPWZ
    )BTLFMM
    +BWB
    +BWB4DSJQU
    0CKFDUJWF$
    1FSM
    1)1
    1ZUIPO
    3VCZ
    4DBMB
    ʜ
    QPMZHMPU

    View full-size slide

  17. &NBJM
    *3$
    $BNQpSF
    'MPXEPDL
    )JQ$IBU
    4RXJHHMF
    4MBDL
    8FCIPPL
    /PUJpDBUJPO

    View full-size slide

  18. (FUUJOH4UBSUFE

    View full-size slide

  19. 6CVOUV-544FSWFS&EJUJPOCJU
    .BD049BTPQUJPO
    $IFG
    7.

    View full-size slide

  20. IBWFDPEFPOHJUIVC
    BDDPVOUSFHJTUSBUJPO
    UVSOPOUIFTMJEFST
    QSFSFRVJSFNFOU

    View full-size slide

  21. DPOpHVSBUJPOpMF
    MBOHVBHF WFSTJPO TDSJQUT
    FODSZQUFELFZ
    POMZFYUSBUIJOHGPS5SBWJT
    USBWJTZNM

    View full-size slide

  22. qFYJCMF
    PWFSSJEFEFGBVMUJGOFDFTTBSZ
    QIQVOJUPSBOZDPNNBOET
    DPNQPTFSQZSVTQFBS
    QFDM BQUHFU NBLF

    View full-size slide

  23. QIBMDPODQIBMDPO

    View full-size slide

  24. FODSZQUJPO
    TFDSFULFZ FNBJMBEESFTT FOEQPJOU
    USBWJTHFN
    TFDVSFbBBBCCCCDDDDEEEFFFFF`
    XJMMCFEFDPEFEPOUSBWJTWN

    View full-size slide

  25. SFSVO
    OFUXPSLUJNFPVU
    BQJFSSPS
    TUBZDBMN DMJDLBCVUUPO

    View full-size slide

  26. TLJQCVJME
    DIBOHJOHPOMZ3&"%.&
    QVUPS

    View full-size slide

  27. DPWFSBHFSFQPSU

    View full-size slide

  28. XJUIKVTUTJOHMFZNMpMF
    FBTZPGVTF
    HSFBUPGQSPEVDUJWJUZ

    View full-size slide

  29. 5SBWJT$*GPS6OJU5FTUJOH

    View full-size slide

  30. 5SBWJTGPS6OJU5FTUJOH
    NBKPSVTFDBTF
    NPEFSOMJCSBSZNJHIUVTF5SBWJT
    $BLF1)1VTFT5SBWJT

    View full-size slide

  31. 5SBWJT$*GPS"QQ5FTUJOH

    View full-size slide

  32. 4FMFOJVN
    DPOUSPMMJOHCSPXTFSSFNPUFMZ
    UFTUTFOUJSFBQQJODMVEFT+BWB4DSJQU
    QJYFM DMJDL FUD
    8FC%SJWFSBDDFQUTDBMMGSPN1)16OJU
    SFRVJSFKBWB Y pSFGPY

    View full-size slide

  33. /P
    4FMFOJVN3$
    4FMFOJVN*%&
    1IBOUPNKT

    View full-size slide

  34. 4FMFOJVNPO5SBWJT
    pSFGPY Y7GC KBWBCZEFGBVMU
    TFMFOJVNTFSWFS
    QIQVOJUTFMFOJVN
    CPPUXFCTFSWFSCZQIQ4PSIUUQT

    View full-size slide

  35. 5SBWJT$*7.
    Y7GC
    pSFGPY
    +BWB
    4FMFOJVN
    1)1
    8FC"QQ
    QIQVOJU

    View full-size slide

  36. UVSOJOUPQIQVOJU

    View full-size slide

  37. OJDFUPPMNBZTBWFZPV
    1IQ4UPSN
    7BHSBOU
    1)16OJU
    $PNQPTFS
    (JU)VC
    5SBWJT$*
    4FMFOJVN
    $PWFSBMM

    View full-size slide

  38. 5IBOLT
    ZBOEPPOUXJUUFS
    IUUQTKPJOEJOUBMLWJFX
    IUUQTTQFBLFSEFDLDPNZBOEPE

    View full-size slide