Pascal-Louis Perez

Use a Before Method in Your Tests

When writing unit tests using the JUnit like frameworks, the mantra is to avoid any work in the class and prefer putting initialisation logic in a dedicated before method. Imagine you’re testing JSON manipulation and you have sample fixture data to work on. public class WhyUseBeforeTest { static Json.Array fixture = (Json.Array) Json.fromString(“[5,6]”); @Test public […]

April 28, 2010

Eishay Smith

Findbugs, Hudson and Pizza Driven Development (PDD)

As you may know kaChing (now Wealthfront) is an test driven engineering organization. Test driven is not an option, its a must. We move fast and push code to production few dozens of times a day in a five minutes release cycle, so we must have high confidence in our code. In complex systems there […]

April 15, 2010

Adam Rosien

iPad stand FTW

April 13, 2010

Eishay Smith

Testing with Hibernate

Some of the unit tests I wrote lately involved setting up a data setup in the DB and testing the code using and mutating it. To make it clear, the DB is an in memory DB so the setup is super fast without IO slowdowns. Its very easy to do the setup using hibernate but […]

April 08, 2010

Adam Rosien

Sometimes you need a little help from your friends

…when the football gets stuck.

April 07, 2010


Konami kaChing

Happy April Fools’ Day from everyone at kaChing! If you’re looking for a treat, try entering a certain code on the kaChing homepage.

April 01, 2010