Property-based testing for Swift & Java. Part 3

During the previous blog post, we reviewed the usage of a testing strategy named property-based testing. To illustrate the usage of this technique, we wrote some properties declaring that the number of ice creams in the Karumi headquarters has to always be greater than two. Our previous properties were quite
Comments

Property-based testing for Swift & Java. Part 2

During the previous blog post in this series, we introduced a new testing strategy named property-based testing. To illustrate the usage of this technique we wrote some properties for our sum function written in Swift or Java. But we changed the approach to test our software. From specifying input data
Comments

Property-based testing for Swift & Java. Part 1

This is why testing is hard: You can't test everything, you can't test enough. So when are you going to stop?... What's the answer? Don't write tests! — John Hughes, co-creator of QuickCheck in Testing the Hard Stuff and Staying Sane Defining all the possible scenarios to cover our system
Comments

First Karumi Architecture Open Training

The first edition of our architecture open training has come to an end! Two awesome weekends coding with great Android and iOS engineers. We'd like to thank every attendant for their compromise and effort during the four sessions our training took. Software design patterns, architecture, and principles should be part
Comments

How not to become a public enemy - Part 2

There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies. — Tony Hoare, creator of the quicksort algorithm (and way more)
Comments