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

Karumi Dojo: Kata Maxibon

Karumi
July 16, 2016
260

Karumi Dojo: Kata Maxibon

Slides used during the Karumi Dojo: Kata Maxibon

Karumi

July 16, 2016
Tweet

Transcript

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

    Sánchez Senior Mobile Engineer at Karumi [email protected] @pedro_g_s github.com/pedrovgs
  2. Pedro V. Gómez Sánchez - [email protected] - @pedro_g_s - github.com/pedrovgs

    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

    introduce Property Based Testing tools. • JUnit- QuickCheck & SwiftCheck are our main tools. • Keep always in mind the properties! • 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 write another test without keep the previous one passing. • Think carefully what properties are you going to check. • Add logs to review the generated input for your tests.
  6. Karumi Trainings: www.karumi.com/trainings Property Based Testing: • An exploratory testing

    tool used by functional developers for years. • Randomly generated inputs will be used to stress your subject under tests. • We need to check that the state of the software holds its properties at the end of the test execution. But it’s thought for pure functions.
  7. Karumi Trainings: www.karumi.com/trainings Tips • Baby steps. • Log the

    input of your tests. • Review the testing framework API before to start. • Don’t lose the green.
  8. Karumi Trainings: www.karumi.com/trainings Tasks • Create the main entities. •

    Write the first test and check that the number of maxibons is always greater than 2. • Add the capability to grab maxibons in group
  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.