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

Automation Testing Done Right

Bajic Dusko
September 28, 2019

Automation Testing Done Right

Talk given on KotlinEverywhere Novi Sad event. Provides tips and tricks related to automation testing overall with the look on Kotlin and Android Test KTX examples.

Bajic Dusko

September 28, 2019
Tweet

More Decks by Bajic Dusko

Other Decks in Programming

Transcript

  1. X:LGR RC R X/LRCEP?RGML RC R X:/ RC R X

    RC R F?R G ?SRMK?RGML RC RGLE
  2. F?R BM UC F?TC RM ILMU X CAFLMJMEW RF?R ?NNJGA?RGML

    G UPGRRCL UGRF! X'@GJGRW RM M@ CPTC ?LB NPCBGAR! X M DMJJMU ?LB GKNJCKCLR K?LW MDRU?PC BC GEL N?RRCPL X GRFMSR / WMS PC BMMKCB X GRFMSR NPGLAGNJC WMS JJ KM R JGICJW D?GJ ML DGP R ?NN PCOSGPCKCLR AF?LEC X CN?P?RGML MD AMLACPL NCP JMEGA?J SLGR
  3. 'NN RCAFLMJMEW MS A?L BM GR UGRF MRJGL PCE?PBJC MD

    J?LES?EC RF?R ?NNJGA?RGML G UPGRRCL UGRF!
  4. @ CPTC ?LB NPCBGAR X ML MDRU?PC ?@GJGRW! X COSGPC

    AMLACLRP?RGML ?LB ?RRCLRGML RM BCR?GJ ! X COSGPC ILMUJCBEC MD FMU ?NNJGA?RGML ?ARS?JJW UMPI ! X COSGPC ILMUJCBEC MD :/ GKNJCKCLR?RGML BCR?GJ ! X PCBGAR DSRSPC ?NNJGA?RGML R?RC!
  5. C GEL N?RRCPL X / 'NNJGA?RGML G KM R JGICJW

    S GLE GR ?JPC?BW! MS UGJJ ? UCJJ! ?EECP MGL ILMUJCEBC X MS UGJJ BCDGLC PSJC ML FMU RM DGLB ?L CJCKCLR GL ?L ?NN! ML R BM GR RUGAC! ML R CNC?R MSP CJD! X F?PC MLJW UF?R WMS F?TC RM! TCPWRFGLE CJ C NSR GL CN?P?RC AJ? C ! / KC?L GR!
  6. M@GJC ?SRMK?RGML RC RGLE X C R ?PC N?PR MD

    RFC NPMHCAR X'AAC RM ?JJ PC MSPAC ! X'AAC RM GKNJCKCLR?RGML JMEGA X CS C ?LB "MP ?JRCP RFC GKNJCKCLR?RGML JMEGA X ?GLJC PCD?ARMP X/LRPMBSAC ) LMG C
  7. M@GJC ?SRMK?RGML RC RGLE X C R ?PC LMR N?PR

    MD RFC NPMHCAR X'AAC RM ?NN PC MSPAC G JGKGRCB MP LML CVG RGLE! X MS PC KM R JGICJW DMPACB RM S C :/'SRMK?RMP MLJW! X)MKNJCRCJW GLBCNCLBCLR GKNJCKCLR?RGML
  8. GN MP RUM X-GTCL FCL 'LB FCL BCDGLGRGML! X ML

    R @C ?DP?GB GD RC R BCNCLB ML C?AF MRFCP! 'TMGB GD NM G@JC! X MS NPM@?@JW U?LR RM U?GR DMP ? AMKNMLCLR RM @C CL?@JCB ?LB TG G@JC! PGRC ?L ?BBGRGML?J J?WCP ML RMN MD S CB JG@P?PW! X/L MPBCP RM NCCB SN RFGLE K?IC PCNC?RGLE RCN IGNN?@JC! X' I DMP NCAG?J ' / ?AAC GD NM G@JC!
  9. GN MP RUM X/LHCAR CVG RGLE ' / GKNJCKCLR?RGML ?LB

    CVRCLB GR! CR SN B?R? ? LCCBCB! X-P?ACDSJJW D?GJ! 2C?TC ?NN GL DPGCLBJW R?RC DMP RFC LCVR RC R RM AMKC! X C MJTC S CP ? GELKCLR ML / JCTCJ NCP RC R CLTGPMLKCLR S S?JJW ? BCTGAC X FGLI MD N?P?JJCJG ?RGML DPMK RFC @CEGLLGLE ML / JCTCJ! X CRRGLE SN BCTGAC JMA?JJW BMC L R N?W MDD! : C ,GPC@? C C R2?@ MP ' CTGAC ,?PK MP GKGJ?P CPTGAC!
  10. GN MP RUM X.?TC ? AMKNJCRC LGEFRJW RC R PSL!

    X.?TC ? FGEF NPGMPGRW D? R RM CVCASRC RC R SGRC RM PSL ?FC?B MD NPMBSARGML PCJC? C! X FGLI MD SNNMPRGLE RC R PSL ML ?LW @P?LAF ? LCCBCB! X'TMGB FPC?B! JCCN UFCL NM G@JC!
  11. .MU FMSJB UC BM GR X PW )SASK@CP! X: C

    :/'SRMK?RMP ?LB NPC M! X CCI NCPDCARGML BML R DMPECR ?@MSR RFC PC?JGRW! X GRFCP U?W UPGRC ? K?JJ 2 UGRF MRJGL RM FCJN WMSP CJD!