Pages
-
Recent Posts
- Revolving Door: MPAA Hires Chief USTR Negotiator Behind ACTA And TPP’s IP Chapter
- Copyright Maximalists’ Incredible Sense Of Entitlement: If It Challenges The Biz Model We Chose, It Must Be Illegal
- Turkey’s Prime Minister Sues His Own Country Over Twitter
- Picturefill 2
- Police File On Student ‘Bullied Into Committing Suicide’ Strangely Lacking In Evidence Of Bullying
Archives
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
Meta
Category Archives: JUnit
PHPHOST BLOG
Web Hosting Related Articles You May Need
Better JUnit-based Unit Tests with NetBeans 7.4 beta Hints
In my last post, I wrote about hints provided in NetBeans 7.4 beta that improve a developer’s ability to avoid nasty runtime issues with Java exception handling. In this post, I look at how two more hints provided by NetBeans 7.4 beta can be used to ma… Continue reading
Posted in JUnit, NetBeans, Syndicated, Unit Testing
Comments Off on Better JUnit-based Unit Tests with NetBeans 7.4 beta Hints
Hamcrest Containing Matchers
The Hamcrest 1.3 Javadoc documentation for the Matchers class adds more documentation for several of that class’s methods than were available in Hamcrest 1.2. For example, the four overloaded contains methods have more descriptive Javadoc documentation… Continue reading
Posted in JUnit, Syndicated, Unit Testing
Comments Off on Hamcrest Containing Matchers
Moving Beyond Core Hamcrest in JUnit
In the post Improving On assertEquals with JUnit and Hamcrest I introduced use of Hamcrest with JUnit. I then looked at JUnit’s Built-in Hamcrest Core Matcher Support. In this post, I look at how to apply Hamcrest’s non-core matchers with JUnit. These … Continue reading
Posted in JUnit, NetBeans, Syndicated, Unit Testing
Comments Off on Moving Beyond Core Hamcrest in JUnit
JUnit’s Built-in Hamcrest Core Matcher Support
In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest “core” matchers being “baked in” with modern versions of JUnit. In that post, I focused particularly on use of JUnit’s assertThat(T, Matcher) static method coup… Continue reading
Posted in JUnit, Syndicated, Unit Testing
Comments Off on JUnit’s Built-in Hamcrest Core Matcher Support
Improving On assertEquals with JUnit and Hamcrest
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports in Java to make code more fluent in certain contexts. Unit testing in Java has been particularly affected by the static import … Continue reading
Posted in JUnit, Syndicated, Unit Testing
Comments Off on Improving On assertEquals with JUnit and Hamcrest
JavaOne 2010: JUnit Kung Fu: Getting More Out of Your Unit Tests
My Wednesday at JavaOne 2010 began with John Ferguson Smart’s standing-room-only presentation “JUnit Kung Fu: Getting More Out of Your Unit Tests.” Most of the overcapacity audience responded in the affirmative when Smart asked who uses JUnit. While th… Continue reading
Posted in JavaOne 2010, JUnit, Syndicated
Comments Off on JavaOne 2010: JUnit Kung Fu: Getting More Out of Your Unit Tests
JavaOne 2010: Unit Testing That’s Not So Bad: Small Things That Make a Big Difference
I knew that the JavaOne 2010 presentation “Unit Testing That’s Not That Bad: Small Things That Make a Big Difference” would be popular and so I signed up for it early and made sure I got there in the time period in which early access seating appli… Continue reading
Posted in Java (General), JavaOne 2010, JUnit, Syndicated
Comments Off on JavaOne 2010: Unit Testing That’s Not So Bad: Small Things That Make a Big Difference