I’m on the devoxx conference in Antwerp, Belgium. Too bad that the past couple of days I’ve been spending on Week 1’s Quickcheck assignment in the Principles of Reactive Programming course on Coursera. I simply couldn’t let it go past me without a solution that would give me the whole 10 points! I simply couldn’t.
So I was solving the exercise and the first and higest score was 8.33. Doh! How could that have happened?! I was doing my best and the second submission was nothing better – 8.33 again!
It took me some time reading here and there about ScalaCheck, watching the videos over and over again, just to find the opportunity to bump up the score. I wish I had been smarter, but it was merely this thread How many tests did you write for the assignment? where I found the inspiration. It worked out very well and the score ended up 10.00/10.
I remember the moment when I wrote a property and the tests went green. That made my day.
It didn’t take long to see the final result – 10.00 out of 10.00 – that’s what I was looking forward to while doing the exercise.