Blogs by topic Testing and user johnsmart
| • Accessibility | • Ajax | • Blogging | • Business | • Community |
| • Databases | • Deployment | • Distributed | • Eclipse | • Education |
| • EJB | • Extreme Programming | • Games | • GlassFish | • Grid |
| • GUI | • IDE | • Instant Messaging | • J2EE | • J2ME |
| • J2SE | • Jakarta | • JavaFX | • JavaOne | • Jini |
| • JSP | • JSR | • JXTA | • LDAP | • Linux |
| • Mobility | • NetBeans | • Open Source | • OpenSolaris | • OSGi |
| • P2P | • Patterns | • Performance | • Porting | • Programming |
| • Research | • RMI | • RSS Feeds | • Search | • Security |
| • Servlets | • Struts | • Swing | • Testing | • Tools |
| • Virtual Machine | • Web Applications | • Web Design | • Web Development Tools | • Web Services and XML |
Testing

Clean Code Practices for Java Developers in Dublin

As the year draws to a close, I wanted to give everyone a heads-up about some of the Wakaleo training sessions already lined up for 2010.
The next big training dates are in Europe - in collaboration with Skills Matter, I will be running the Java Power Tools Bootcamp in London (February 15-19) and Paris (February 22-27), and then in Wellington in March (March 22-26). I'm also lining up sessions...

A new Java Power Tools Newsletter is out! In this issue, we study the theory and practice of Mock Objects, including the subtle differences between mocks and stubs, and a simple case study using Mockito, the new kid on the block of Mock Objects frameworks for Java. Check it out!

I am absolutely thrilled to anounce that I will be talking at the Canberra JUG meeting next week (on Wednesday, September 9, to be exact), about BDD in general, and Easyb and JDave in particular:
Behaviour-Driven Development, or BDD, is an excellent development strategy that can help bridge the traditional gap between requirements and implementation. This talk will go discuss the basic...

Let's not be pedantic. Write unit tests before you code a method, or after it - in my experience, it matters little, as long as you think about and write the tests at roughly the same time as you write the code. It's coming back to do the tests later (or not coming back at all) which causes problems. Personally, I like to write unit tests just before or immediately after writing small chunks...

Out of curiosity, I ran some benchmarks on the Optimization PMD rules, to see how they measure up to the latest JDKs. The results were, interesting...

Hamcrest is a great little library for making your unit tests more concise and more readable, but sometimes there are a few surprises...

The ultimate aim of writing software is to produce a product that satisfies the end user and the project sponsor (sometimes they are the same, sometimes they are different). How can we make sure testing helps us obtain these goals in a cost-efficient manner?

Recently, I've been investigating the various testing frameworks out there at the moment: JUnit 3.8, JUnit 4, and TestNG. Obviously, each has its pros and cons, and there is no real perfect solution. Here is my wish list for a decent unit testing framework.
Extreme Programming

Wakaleo Consulting is pleased to announce that we are bringing our popular TDD/BDD courses to Europe, in a convenient online format!
Fundamentals of Test-Driven Development in Java: This course covers both fundamental TDD/BDD practices, tips and tricks, and also how to apply them effectively with the latest Java tools, including JUnit 4.8, Hamcrest, Infinitest, Mockito and Spock.
Automated...



