Sketch and Test

I try to do TDD as much as I can. But sometimes (for example last Friday) I don’t know how to get started. This happens when I don’t have a plan of how the code should look in the end, possibly because don’t completely understand part of the problem. Especially I didn’t know how I [...]

Posted in: Softwaredevelopment by Jens Schauder 2 Comments , , ,

My Testing and Code Analysis Toolbox

Last week we kicked of a “Testing Skill Group” at LINEAS, a group for exchanging knowledge about testing. One question that came up over and over again in various flavors was: What tools are there for testing and analyzing your code? So here is my personal answer for this, in the approximately order I tend [...]

How to write your own Matchers with ScalaTest

I just love the assertion syntax of ScalaTest. It’s easy to read and easy to write and looks like this: 23 should be >= (12) Even if you know nothing about ScalaTest it should be easy to understand whats this assertion is about. But what when your assertions get more complex? Like this: new Frog().color.getGreen() [...]