Testing

  • submit to reddit

Principles for Creating Maintainable and Evolvable Tests

Having [automated] unit/integration/functional/… tests is great but it is too easy for them to become a hindrance, making any change to the system...

2 replies - 3139 views - 11/24/11 by Jakub Holý in Articles

What Should you Unit Test? - Testing Techniques 3

I was in the office yesterday, talking about testing to one of my colleagues who was a little unconvinced by writing unit tests. One of the reasons that he...

14 replies - 4408 views - 11/21/11 by Roger Hughes in Articles

Martin Fowler: Specification By Example

I was attending a workshop at XP/Agile Universe in 2002 when the phrase 'Specification By Example' struck me as a way to describe one of roles of testing in...

0 replies - 7186 views - 11/18/11 by Martin Fowler in Articles

Testing Techniques - Part 1 - Not Writing Tests

There’s not much doubt about it, the way you test your code is a contentious issue. Different test techniques find favour with different developers for...

2 replies - 3490 views - 11/17/11 by Roger Hughes in Articles

The Misuse of End To End Tests - Testing Techniques 2

My last blog was the first in a series of blogs on approaches to testing code, outlining a simple scenario of retrieving an address from a database using...

0 replies - 4915 views - 11/16/11 by Roger Hughes in Articles

Testing GWT Apps with Selenium or WebDriver

Good functional testing is one of the most difficult tasks for web application developers and their teams. It is a challenge to develop tests that are...

0 replies - 5571 views - 11/14/11 by Carey Flichel in Articles

QA&TEST 2011 Conference

Cirilo Wortel recently attended the QA&TEST Conference which featured a strong list of speakers and a wide variety of talks on test automation, user...

1 replies - 3850 views - 11/04/11 by Mitch Pronschinske in News

Never Mix Public and Private Unit Tests!

It seems to me that developers often do not really distinguish between the various types of unit tests they should be writing and thus mix things that...

2 replies - 4650 views - 10/26/11 by Jakub Holý in Articles

Video: "Super Fresh Code" - The Next Step in Continuous Delivery

Israel Gat of Cutter Consortium speaks with DZone on his two sessions at Agile 2011, one of which is about his new methodology for taking DevOps and Continuous...

0 replies - 5952 views - 10/25/11 by Mitch Pronschinske in Videos

Getting started with Selenium 2

Selenium 2 features new Api and implementations which goes under the name of WebDriver. It's a simpler, faster, object-oriented Api that applies to modern web...

0 replies - 9300 views - 10/25/11 by Giorgio Sironi in Articles

Why Use PowerMock to Mock Private Methods?

So far I’ve written a couple of blogs on PowerMock covering some of what I think are its most useful features. Today’s blog takes a look at...

3 replies - 8457 views - 10/24/11 by Roger Hughes in Articles

Only a Masochist Would Write Unit Tests in Java. Be Smarter, Use Groovy (or Scala…).

I like writing unit tests but Java doesn’t make it particularly easy. Especially if you need to create objects and object trees, transform objects for...

14 replies - 5775 views - 10/20/11 by Jakub Holý in Articles

A simple way to test Eclipse-based editors

After two releases of the open source version of protobuf-dt and ten Google-internal ones, code complexity grow to a point that more comprehensive testing...

1 replies - 5718 views - 10/19/11 by Alex Ruiz in Articles

Separating Maven Unit & Integration Tests

In this example I will show how you can perform a standard Maven build whilst keeping your unit and integration tests in separate packages. Other...

1 replies - 5812 views - 10/19/11 by John Dobie in Articles

hasProperty, the Hidden Gem of Hamcrest (and assertThat)

If you got used to JUnit 4′s assertThat with various matchers (of course you will need junit-dep.jar and hamcrest.jar to get the full set instead of the...

0 replies - 3106 views - 10/17/11 by Jakub Holý in Articles