Manipulating Test Execution with ScalaTest

My favorite feature in the JUnit are Rules. With Rules you can manipulate the execution of your test, by wrapping your own code around the test execution. I have used this for setting up databases for test, making sure they execute in the EDT, limiting legal test execution time and for set up and tear [...]

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

Usage Patterns of Scala Traits

One of the many cool features in Scala are traits. traits are like a mixture of abstract classes and interfaces: You can ‘implement’ as many of them as you want just as with interfaces, but they can also contain implementation, which makes them similar to abstract classes. You also can’t instantiate a trait on its [...]

Posted in: Softwaredevelopment by Jens Schauder No Comments , ,

How Scala changed the way I think about my Java Code

Some people advocate their preferred language as the only way to enlightenment and productivity boosts way in the two digit percentage range compared to another language in the same category. I don’t believe it. (It’s probably true when you compare things like Java and Assembler, but few do that) There are others that tell you [...]

Posted in: Softwaredevelopment by Jens Schauder 6 Comments ,