Here’s a blog post exploring the different CRUD approaches in
your Scala code. I will show you three different approaches,
0 replies - 1771 views - 11/14/12 by Jan Machacek in Articles
The functionality in expectations.scenarios was borne out of compromise.
I found certain scenarios I wanted to test, but I wasn't sure how to
0 replies - 1620 views - 11/14/12 by Jay Fields in Articles
As I’m working on some scala code the last few weeks, i have come
across some functions in the scala api that I didn’t understand right
4 replies - 2542 views - 11/12/12 by Jelle Victoor in Articles
Most of the time you can easily divorce the values needed in an expected
form and an actual form of an expectation. In those cases, nothing
0 replies - 1425 views - 11/11/12 by Jay Fields in Articles
Hope you are having fun so far, but our application has serious performance defect. After measuring response times of the RandomOrgRandom class we...
0 replies - 1372 views - 11/11/12 by Tomasz Nurkiewicz in Articles
As a follow-up of point 4 of my previous article, here’s a first little cheatsheet on the Scala collections API. As in Java, knowing API is a big step in...
0 replies - 3956 views - 11/11/12 by Nicolas Frankel in Articles
The vast majority of testing I do these days is state-based; however, there are times when I need to test an interaction (e.g. writing to a file or...
0 replies - 1482 views - 11/10/12 by Jay Fields in Articles
If you're using expectations and Joda Time, you now have the ability to
freeze time in bare expectations (version 1.4.16 and above). The
0 replies - 1655 views - 11/09/12 by Jay Fields in Articles
In the previous part we implemented our first actor and sent message to it. Unfortunately actor was incapable of returning any result of processing this...
0 replies - 2293 views - 11/08/12 by Tomasz Nurkiewicz in Articles
I’ve spent my last 7 weeks trying to follow Martin Odersky’s Scala courses on the Coursera platform.
In doing so, my intent was to widen my approach on...
1 replies - 4611 views - 11/05/12 by Nicolas Frankel in Articles
A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...
6 replies - 9191 views - 11/02/12 by Bill Armstrong in Articles
These days I’m noticing myself saying more and more frequently that Duck Typing is great, except when it’s not.
An amusing issue that briefly cropped up...
0 replies - 3382 views - 10/28/12 by Oliver Hookins in Articles
I decided to give ClojureScript a try. It did not come easy, because I found the official documentation somewhat complicated. I know there is...
0 replies - 2733 views - 10/25/12 by Konrad Garus in Articles
11 replies - 9376 views - 10/23/12 by Jakub Holý in Articles
Let’s start with a puzzle. Let’s create a little Leiningen project called careful. Let’s set :main careful.core in project.clj and put this in...
0 replies - 2385 views - 10/20/12 by Konrad Garus in Articles