A simple test Since I wanted to have some test coverage (legacy code alert!) for my project I started out testing one of the services, a grails artefact. All was well, I’m using Spock and testing is a breeze. At some point I wanted to have another component to return a fixed value so I would have something predictable to … Lees verder Grails, private method scope and mocks
Redhat has released Ceylon 1.0 beta! Including a new release of the eclipse IDE plugin which means it’s actually starting to become usable and who knows even practical. The classes from both languages, java and ceylon, work together like peas in a pod! Don’t believe me? Just follow the instructions on installing Ceylon (which is really easy if you know … Lees verder Exploring Ceylon
Though the api’s for working with threads have improved, testing asynchronous processes proves difficult.
The tiny awaitility library saves and lot of useless coding and eases the pain of polling state when testing asynchronous code.