For people in hurry, get the latest code and the steps in GitHub.
To run the junit test, run “mvn test” and understand the test flow.
0 replies - 3056 views - 12/13/12 by Krishna Prasad in Articles
Everything started when Eve said ‘No‘ when God told her not to eat the fruit. Then my daughter said ‘No‘ when I told her to clean her room. Then...
0 replies - 2775 views - 12/06/12 by Antonio Goncalves in Articles
Though most developers know the importance of testing, it seems that a lot of them still aren’t testing enough. And if they write tests, they just test...
0 replies - 7766 views - 12/03/12 by Glenn Dejaeger in Articles
This is part three of my posts on assertions testing using Fest, JUnit and custom Exceptions. The first post was covering the basics of...
0 replies - 2561 views - 11/26/12 by Mike Ensor in Articles
As a warm up for SCNA, the Chicago Software Craftsmanship Community
ran a hands-on coding session where developers, working in pairs,
0 replies - 2184 views - 11/19/12 by Sandro Mancuso in Articles
I am pleased to announce that my new Testing and Configuration Framework (TestingConf Utilities) just published on...
0 replies - 1866 views - 10/30/12 by Mohamed Radwan in Articles
Every once in a while I read something along the lines of: “most
developers just want to write new features, they don’t want to work with
1 replies - 5559 views - 10/30/12 by Henrik Warne in Articles
As the previous post
mentioned, Spock is a powerful DSL built on Groovy ideal for TDD and
BDD testing and this post will describe how easy it is to...
0 replies - 2941 views - 10/22/12 by Geraint Jones in Articles
The testing framework Spock is a powerful DSL built on Groovy which
enables easily writable and extremely readable tests which lends itself
0 replies - 7564 views - 10/21/12 by Geraint Jones in Articles
It's awesome that JUnit is recognizing the usefulness of Hamcrest,
because I use these two a lot. However, I find JUnit packaging of their
3 replies - 8647 views - 10/16/12 by Zemian Deng in Articles
When I found out about the book ”How Google Tests Software“,
it didn’t take long until I had ordered a copy. I find it quite
fascinating to read...
0 replies - 4978 views - 10/16/12 by Henrik Warne in Articles
I'm in love. Officially. With Spock.
Ok, we've only been hanging out for a...
0 replies - 1654 views - 10/15/12 by Ken Rimple in Articles
Software is still mostly stuck in the simulation stage. The original Agile book, Kent Beck‘s Extreme Programming
0 replies - 1782 views - 10/14/12 by Rob Williams in Articles
How to allow instance methods to run as JUnit BeforeClass behavior
JUnit allows you to setup methods on the class level once before and
0 replies - 4992 views - 10/10/12 by Zemian Deng in Articles
JUnit 4.4 added a new assertion mechanism with the method assertThat(). Have a look and consider using it in place of...
5 replies - 6834 views - 10/09/12 by Mike Christianson in Articles
Why test exception flows? Just like with all of your code, test coverage
writes a contract between your code and the business...
0 replies - 9619 views - 10/07/12 by Mike Ensor in Articles
Even if you don’t like it, your job sometimes requires you to
maintain legacy applications. It happened to me (fortunately rarely),
and the first thing I...
0 replies - 4225 views - 10/07/12 by Nicolas Frankel in Articles
Do unit tests improve code quality? Some famous consultants
might disagree, but I think they don’t. Testable code isn’t...
6 replies - 4549 views - 10/03/12 by Felix Dahlke in Articles
I love testing. And I like productivity. There are many tools and
libraries that make writing tests easier, more convenient, more fun. I
would like to...
0 replies - 4287 views - 09/17/12 by Jakub Holý in Articles
Why create a mechanism to expect a test failure?
There comes a time when one would want and expect a JUnit @Test
case fail. Though this is pretty rare, it...
0 replies - 5647 views - 09/16/12 by Mike Ensor in Articles