Tests developed during TDD can be classified into several levels, depending on the size of the object graph they need to work with. End-to-end tests span the whole application graph, while unit tests usually target a single public class at a time.
0 replies - 3610 views - 01/26/12 by Giorgio Sironi in Articles
Folks like to claim that unit testing absolutely requires each class be
tested in isolation using mocks for all dependencies. This is a noble
aspiration, but doesn't work out perfectly well in Python.
First, "unit" is intentionally vague....
4 replies - 5483 views - 09/24/11 by Steven Lott in News
This article describes the principles of unit testing, rather than the technical details. It's aimed at beginners. Experienced unit-testers will get little from it, except perhaps the pleasure of pointing out mistakes.
(Edit: a few sentences redrafted as a...
8 replies - 7104 views - 02/08/11 by Andrew Spencer in Articles
The aim of this book is to give an introduction to Java developers who have little or no experience with unit testing. The author does a sound job of covering the basic principals of unit testing....
0 replies - 4374 views - 08/26/10 by Jörg Buchberger in Book Reviews
JBoss' Java Server Faces testing framework, JSFUnit, has just released version 1.3 with a couple of new features and one significant fix that now allows integration with another JBoss project - Arquillian. For those who don't know about Arquillian, it...
0 replies - 4299 views - 08/12/10 by Mitchell Pronsc... in News
I recently had the opportunity to read the first few chapters of “The Art of Unit Testing in Java” by Roy Osherove and Lasse Koskela. What follows is a review of those chapters. The book is...
2 replies - 6270 views - 07/20/10 by Pavel Rozenblioum in Book Reviews
The Manifesto for Software Craftsmanship is trying to raise the bar of professional software development, by pointing out that the only way to go fast is to to work as well as we can possibly do. However sometimes you have to temporarily lower your bar,...
4 replies - 10195 views - 06/22/10 by Giorgio Sironi in Articles
The latest version of the Pulse continuous integration server has hit beta status! This version introduces many new features, with a focus on improving usability, particularly when viewing build results. Major updates include:
0 replies - 798 views - 05/21/10 by Jason Sankey in Announcements
For my thesis in Computer Engineering I'm working on a project built over an OSGi framework. As always, I'm guided by test since I apply Test-Driven Development all the time at the acceptance and unit level. I thought it would be nice to share my experiences...
2 replies - 9098 views - 05/13/10 by Giorgio Sironi in Articles
We recently had the chance to catch up with Gregg Sporar, Senior Product Manager at Smart Bear Software, about peer code review as an Agile process.DZone: Can you give us a quick intro to yourself and your background?
7 replies - 10100 views - 04/08/10 by Lyndsey Clevesy in Articles
In an earlier article I suggested that a good way of measuring project progress is to count the number of passing tests and compare these to the estimated number of planned test cases. The advantage of measuring progress in this way was that test cases are...
0 replies - 5853 views - 09/29/09 by Richard Perfect in Articles
JUnit 4.7 introduced a few features that make it a little easier to work with exceptions. JUnit 4 introduced the expected parameter, which makes a test succeed if and only if a certain exception is thrown. For example, in the following code sample, we are...
0 replies - 3024 views - 09/29/09 by John Ferguson Smart in Blogs
As a developer you have just finished your latest bit of code and have released it to the test team. It took a little longer than you thought it would but finally you can say to your project manager that this task is now 100% complete. The test team receives...
0 replies - 11496 views - 09/22/09 by Richard Perfect in Articles
You hear people talking about
small/medium/large/unit/integration/functional/scenario tests but do
most of us really know what is meant by that? Here is how I think about
tests.
Unit/Small
0 replies - 3758 views - 07/18/09 by Misko Hevery in News
Mycila Testing Framework aims at being a community framework where anyone could contribute their plugins to make unit testing easier. Basically, when you need to unit test you often need to create mocks, use memory databases, interact with spring, guice,...
0 replies - 934 views - 05/11/09 by Mathieu Carbou in Announcements