During ThoughtWorks University XI we took the decision to introduce to the trainees Waffle as an example of MVC framework.
I’ve been impressed by the simplicity of the framework. It has been a while since the last time I’ve played with any Java Web Framework ( I think it was around 6 years ago the last [...]
Tag Archives: Java
Waffles are good, do you fancy a Waffle?
HelloWorld v 2.0
Once upon a time we used to write:
public static void main(String[] args) {
System.out.println(”Hello World”);
}
Now I prefer:
@Test
public void shouldSayHelloToTheGivenName() throws Exception {
// given
PrintStream mockStream = mock(PrintStream.class);
Greeter greeter = new Greeter(mockStream);
// when
greeter.helloworld(”toni”);
// then
verify(mockStream).println(”Hello world, toni”);
}
The test is of course using the beautiful test double framework Mockito
Reviving JRake
The post about the need of a new build tool had many comments and reactions so I started, before coding something brand new, to search on the web for something to solve the current, well known build tools problems.
I found out that Gant is pretty cool but then I started to search for [...]
It’s time to write a better build tool
That’s what I’ve heard more than one time in the last months, half of my friends complain about maven, the other half is just almost happy with ant. The rubists are generally happy with rake, the biggest problems are on the java/.net world.
So I thought about branching ant and rewriting it in a slightly [...]