Testing

  • submit to reddit

Let's not forget what makes a good tester a good tester

In the past year or so, I've spent more time than not trying to find really good "agile testers" to hire. In this search, I have also had many...

4 replies - 8159 views - 08/30/11 by Dawn Cannan in News

Manipulating Test Execution with ScalaTest

My favorite feature in the JUnit are Rules. With Rules you can manipulate the execution of your test, by wrapping your own code around the test execution. I...

0 replies - 3225 views - 08/29/11 by Jens Schauder in Articles

Good Unit Test CheckList

Here are a few items I try to respect every time I write unit tests. My test class is testing one and only one classMy methods are testing one and only one...

17 replies - 7717 views - 08/19/11 by Jean-baptiste Rieu in Articles

Your test cases should sometimes fail!

I'm an avid subscriber of the delightful weekly (sometimes) Python-URL! email, highlighting the past week's interesting discussions across the numerous...

1 replies - 8319 views - 08/18/11 by Michael Mccandless in News

DbUnit Express Tips: Setup Simplification, Custom Data File Convention

I’ve recently introduced here DbUnit Express, a wrapper around DbUnit intended to get you started with testing DB-related code in no time, and now...

3 replies - 4454 views - 08/08/11 by Jakub Holý in Articles

Mocking JMS infrastructure with MockRunner to favour testing

This article shows *one* way to mock the JMS infrastructure in a Spring JMS application. This allows us to test our JMS infrastructure without actually...

2 replies - 7471 views - 08/04/11 by Marco Tedone in Articles

Getting Started with Testing

In a recent article I described how important I consider the practice of Testing, especially in the form of TDD. Erik made a real good comment on that...

3 replies - 3858 views - 08/02/11 by Jens Schauder in Articles

Return the same object that was given as parameter with EasyMock

Every time I have to use EasyMock, I get annoyed. For those who don’t know EasyMock, it is a mocking framework that allows you to mock certain pieces of...

0 replies - 5006 views - 07/29/11 by Jelle Victoor in Articles

Having Database Tests Ready in 10 Minutes with DbUnit Express

DbUnit Express is my wrapper around DbUnit that intends to make it extremely easy to set up a test of a code that interacts with a database. It is...

0 replies - 4669 views - 07/28/11 by Jakub Holý in Articles

The Cost of Testing or You don’t Know what You are Missing

Twice this week people challenged my belief in automated testing and Test Driven Development. The argument that was brought forward was simply: Unit tests...

6 replies - 5971 views - 07/25/11 by Jens Schauder in Articles

Rules in JUnit 4.9 (beta 3)

Some time ago David Saff announced a beta release of JUnit 4.9. So I guess it is a good point in time to look into what is new in this version. One of the...

0 replies - 46463 views - 07/25/11 by Jens Schauder in Articles

@Ignore unit tests immediately if they fail!

In development teams, there is often discussion about using the @Ignore tag for failing tests. In particular, developers who are very enthusiastic about...

4 replies - 4034 views - 07/25/11 by Michael Schnell in Articles

The High-Level Test Whisperer

Most teams have High-Level Tests in what they call Functional Tests, Integration Tests, End-to-End Tests, Smoke Tests, User Tests, or something similar....

1 replies - 3953 views - 07/20/11 by Jay Fields in Articles

Release of JUnit-DynamicSuite (0.2.0) (A Suite to filter JUnit 4.x Tests dynamically)

Did you ever have the problem that you only wanted to run certain unit tests from a directory in JUnit? For example you might want to run fast running...

2 replies - 1999 views - 07/20/11 by Christof Schoell in Announcements

Testing legacy: Hard-wired dependencies (part 2)

In part one, I showed how to unit test a method that uses a Singleton and makes static calls. So now, let's have a look at common code problems we find...

2 replies - 3138 views - 07/19/11 by Sandro Mancuso in Articles