The Ultimate Guide to Choosing WordPress Pros and Cons
Karumi Dojo: Kata Maxibon
1. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Karumi Dojo: Kata Maxibon
Pedro Vicente Gómez Sánchez
Senior Mobile Engineer at Karumi
pedro@karumi.com
@pedro_g_s
github.com/pedrovgs
2. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
3. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Sergio Gutierrez
Senior Mobile Engineer
Alberto Gragera
Technical Director
Jorge Barroso
Android guy!
Davide Mendolia
Senior Full Stack Engineer
4. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
5. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
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.
6. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
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.
7. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
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.
8. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
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 th end of the test execution.
9. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Maxibon Kata:
10. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Java: Properties
11. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Java: Generators
12. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Swift: Properties
13. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Swift: Generators
14. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Tips
● Baby steps.
● Log the input of your tests.
● Review the testing framework API before to start.
● Don’t lose the green.
15. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Are you ready?
16. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
Ressources
Github
● MaxibonKataJava
● MaxibonKataiOS
17. Pedro V. Gómez Sánchez - pedro@karumi.com - @pedro_g_s - github.com/pedrovgs
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