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

Kata Screenshot for Android & iOS

Karumi
February 04, 2017

Kata Screenshot for Android & iOS

Karumi

February 04, 2017
Tweet

More Decks by Karumi

Other Decks in Technology

Transcript

  1. Karumi Trainings: www.karumi.com/trainings Karumi Dojo: Kata Screenshot Pedro Vicente Gómez

    Sánchez Senior Mobile Engineer at Karumi [email protected] @pedro_g_s github.com/pedrovgs
  2. Karumi Trainings: www.karumi.com/trainings Karumi Trainings For companies: www.karumi.com/trainings: • Architecture,

    patterns, and principles for Android & iOS. • Testing for Android & iOS. • Advanced mobile development. • Mastering Git. Open trainings: • Architecture, patterns, and principles for Android & iOS. • Testing for Android & iOS.
  3. Karumi Trainings: www.karumi.com/trainings Karumi Dojo • We are here to

    practice and learn. • This exercise meant to be collaborative, not competitive. • Try to open your mind to new concepts.
  4. Karumi Trainings: www.karumi.com/trainings Karumi Dojo • We are here to

    practice Screenshot Testing. • Dagger and FB Screenshot framework are our main tools. • Keep always in mind the Dependency Inversion Principle. • We are going to practice pair programming.
  5. Karumi Trainings: www.karumi.com/trainings Rules: • Do not start coding without

    read the repository README.md • Do not start coding without test the application manually and review the application code. • Do not write another test without keep the previous one passing. • Think carefully where you are going to use test doubles.
  6. Karumi Trainings: www.karumi.com/trainings Dagger 2: Test Double you can configure

    easily. Initialize your Test Doubles. Initializes your Activity under test.
  7. Karumi Trainings: www.karumi.com/trainings Tips • Baby steps. • Review the

    application before to start. • Review the testing framework API before to start. • Don’t lose the green. • Use always the same device! • Fork this project and use Travis CI configuration.
  8. Karumi Trainings: www.karumi.com/trainings Tasks • Setup MainActivityTest with a list

    of Super Heroes. • Test the list screen with different number of super heroes. • Test the detail screen.
  9. Karumi Trainings: www.karumi.com/trainings Karumi Trainings For companies: www.karumi.com/trainings: • Architecture,

    patterns, and principles for Android & iOS. • Testing for Android & iOS. • Advanced mobile development. • Mastering Git. Open trainings: • Architecture, patterns, and principles for Android & iOS. • Testing for Android & iOS.