testdriven.com Wrangling quality out of chaos

Archive for the ‘News’ Category

Integrated Unit Testing in Achievo ATK

05.06.2005 · Posted in News

Last week version 5.2 of the PHP RAD web application development framework Achievo ATK was released. This release contains an integrated Unit Test environment. Writing unit tests for applications developed in ATK is as easy as creating a ‘testcases’ subdirectory and placing testcase classes in it.

The UnitTest framework that was integrated to accomplish this is Lastcraft’s SimpleTest.

This step demonstrates our commitment for a more XP oriented way of developing ATK applications.

Mockrunner 0.3.5 released

05.01.2005 · Posted in News

Mockrunner 0.3.5 released. Changes include:

- full J2EE 1.4 support
- now provides separate jar files for all supported technologies
- introduced basic adapter versions (e.g. BasicJMSTestCaseAdapter)
- lazy initializing mock object factories in BaseTestCase as suggested by Gábor Lipták. This makes the standard adapters useable without all the third party dependencies.
- enhanced tag test framework. Now supports simulated scriptlets and expressions.
- new JMS MockConnectionFactory for both domains
- improved JMS message selector parsing
- new XMLResultSetFactory supporting Sybase database by Jeremy Whitlock
- moved struts mock object creation to ActionMockObjectFactory (check out migratingfrom0.3.1.txt for details)
- it’s now possible to set the key under which messages and errors are stored in ActionTestModule
- many bug fixes, refactorings and improvements

Check out mockrunner.sourceforge.net for the new version. Special thanks goes to Jeremy Whitlock for all the work with the new website.

AnyUnit 1.1 add-in for MSVS 2003 is released

04.25.2005 · Posted in News

AnyUnit version 1.1 is now released and ready for download at www.anyunit.com.

AnyUnit is an unit testing environment that allows developers to work with virtually any type of test frameworks, commercial and open source. It supports C/C++ unit testing, comes bundled with boost_test and CppUnit test layouts. Version 1.1 adds support for Managed C++/C#/Nunit, specialized test runners, custom test project mapping and various other enhancements; please visit website for details.

Testing Without Training

04.25.2005 · Posted in News

The last Methods & Tools’ poll question was: How many weeks of training on software testing have you completed in your professional life?

Answers:

None 43%
Less than one week 19%
One week (5 days) 7%
One to two weeks 7%
Two weeks to one month 6%
More than one month 18%

Number of participants: 240As you can see, a large majority of the participants received none or few testing related training from their employers. I think that this situation is typical of the importance given to the testing phase in many software development projects. The time is often limited and there are few processes, tools and infrastructure available to optimise the efforts of the developers. The lack of training is just another factor that limits the efficiency of testing efforts.

At the other end of the spectrum, you see an important percentage with more than one month of training. This result should be connected with the activity of M&T readers. Around 20% of them are working in the software quality area and people working in this area should have more testing related training than the average developer.

Source: http://www.methodsandtools.com

Presentation by Damon Carr on TDD, Agile and Software Factories

04.25.2005 · Posted in News

FOR IMMEDIATE RELEASE

4/20/2005

Damon Carr, CEO of agilefactor, a leading innovator in Agile Process Improvement and Implementation, has been accepted as a speaker for the upcoming ‘Better Software Conference 2005′. His talk is on the following:

Agile Development Evolution to Software Factories – For the Advanced Agile Practitioner

Thursday, September 22
1:30 p.m.The concept of software factories is becoming a hot topic in software engineering circles. So, how can the factory model fit with Agile development practices? Damon Carr makes the case that Agile development is a stepping stone—not an alternative—to software factories. This is not the dreary vision of mindless workers in a factory. Instead, think of highly skilled individuals working with multi-million dollar machinery to develop systems. Even if you are not considering the factory model, Damon offers new practices that can reduce overall Agile development costs by as much as 40%. These include explicit refactoring to design patterns in your iterations, quantitative risk management, metrics for understanding the health of your project, and a new approach to team structure.

- How software factories capture the best technical and domain knowledge
- The pros and cons of Software Factories
- Some improvements to common Agile processes

For more information visit:
http://www.sqe.com/bettersoftwareconf/

Contact:
press@agilefactor.com

FitLibrary Released

03.07.2005 · Posted in News

FitLibrary is a Java library of ten+ new fixtures and new test suite runners for Fit. This includes DoFixture, an alternative, compact approach to writing workflow tests. Many of the fixtures can operate directly on application objects without the need to write fixture code, in a Domain-Driven-Design style. Support is provided for "graphical" values in table cells, as well as text.

Many of these new fixtures are introduced and used in extensive examples in "Fit for Developing Software", Rick Mugridge and Ward Cunningham, Prentice-Hall, June 2005.

There are versions for (slightly amended versions of) FitJava1.0 and FitNesse20041105. FitJava1.1 will include changes to support the FitLibrary.

John Roth has a Python version in progress. A C# version will probably be underway soon.

Details and examples are available at http://fitlibrary.sourceforge.net/

Download from https://sourceforge.net/projects/fitlibrary/

Rick Mugridge

First International Symposium on Wikis: Call for contributions

03.07.2005 · Posted in News

Sébastien Paquet is helping out with the First International Symposium on Wikis, which will be held in San Diego, CA, October 17-18:
<blockquote>Anyone who is involved in using, researching, or developing wikis is invited to participate. We are seeking submissions for research papers, practitioner reports, demonstrations, workshops, and panels.</blockquote>The 2005 International Symposium on Wikis brings together wiki researchers, implementers, and users for the first time. The goal of the symposium is to find a voice for the community. The symposium has a rigorously reviewed research paper track as well as plenty of space for practitioner reports, demonstrations, and discussions.

Ward Cunningham, the inventor and host of the original WikiWikiWeb, will present the opening keynote talk at WikiSym 2005.

Visit the International Symposium on Wikis Website.

AnyUnit C/C++ Edition add-in for MSVS 2003 is available

03.01.2005 · Posted in News

AnyUnit C/C++ Edition add-in for Visual Studio 2003 .NET is available for download at http://www.anyunit.com. AnyUnit is a unit testing environment that allows developers to work with virtually any type of test frameworks, commercial and open source. It comes bundled with support for boost_test and CppUnit test layouts; please visit
website for details.

CTdotNET presentation on Agile Development with Visual Studio .NET 2005

02.10.2005 · Posted in News

The presentation will be held Tuesday, February 22nd, 6-8PM, at the Connecticut .NET Developers Group.

Chris Bowen (Sr Architect at Monster.Com) will give a presentation on Agile Development and Unit Testing with Visual Studio 2005. In this talk, the core concepts of unit testing will be introduced, along with the related practice of Test-Driven Development (TDD). Best practices for writing unit tests will also be described and intermediate concepts such as code coverage and mock objects will be introduced.The second part of the talk will cover how unit testing will change (and remain the same) when Visual Studio Team System 2005 is released later this year. Team System will confer "first class citizen" status to unit tests, fully integrating them with the IDE and with other Team System features. There are many new unit testing features in Team System – from new Assert classes like Assert.Text and Assert.Collections, test run configurations, data-driven tests, code and test generation, to code coverage and the (controversial) process of accessing non-public members from tests. These features will be described and compared with current practices using NUnit, including advice for migration of existing testing suites to Team System.

Chris Bowen is Senior Architect with Monster Worldwide (a.k.a. Monster.com) in Maynard, Massachusetts, where he leads Monster’s Architecture team. His team helps guide Monster’s transition from COM to .NET, creating enterprise components and tools, defining standards and practices, analyzing performance metrics, conducting developer training/mentoring and researching related technologies.

Click here for more information about this presentation.

Free (beta) .NET unit-testing class

01.30.2005 · Posted in News

Elisabeth Hendrickson and Dale Emery will beta test a .Net unit-testing class in Pleasanton, CA, Feb. 9-11.

"Over the last few months, we’ve been hard at work creating a new class, Unit Testing in .NET. Now we’re looking for participants to help beta test it. We thought you might be interested. We’re offering this beta class in exchange for feedback. There will be no fee associated with the class." This is a 3-day hands-on workshop about the core principles of unit testing. Participants will write unit test code in C# using NUnit and related frameworks, and will be testing a realistic application written in .NET throughout the workshop.

Where: Pleasanton, CA (exact location to be announced)
When: February 9-11, 9:00am-5:00pm all 3 days

Contact Dale Emery (dale at dhemery dot com) for additional information.

One-page quick reference guides available

01.24.2005 · Posted in News

Gunjan Doshi has created two quick reference sheets for Test-Driven Development, and has made them available to all testdriven.com users under the Download section.

[url=http://www.testdriven.com/modules/mydownloads/visit.php?cid=3&lid=4]The Test-Driven Development Quick Reference Guide (PDF)[/url] is a one-page guide providing a quick reference to several common questions. It also includes quick references to the TDD Cycle, Things to always do, and Things to never do.

[url=http://www.testdriven.com/modules/mydownloads/visit.php?cid=3&lid=3]Test-Driven Development Rhythm Reference Guide (PDF)[/url] is a one-page cheat-sheet to remind oneself of the Test-driven rhythm. The guide also suggests the approximate time that should be spent on each phase of the Test-driven rhythm.

Feedback appreciated.

The testdriven.com crew warmly thanks Gunjan for his contribution.

“Better Software, Faster” with Mike Clark in Fremont, CA, February 5, 2005

12.29.2004 · Posted in News

Mike Clark, consultant, speaker, programmer and author of Pragmatic Project Automation (The Pragmatic Bookshelf, 2004), will lead the comprehensive Java seminar, designed for all Java software developers who have a working knowledge of Java and basic OO concepts. "Better Software, Faster" will focus on three topics that are important to all Java software developers:

- Writing Good Code, which will teach participants how to write clean code that works, detect code smells before they begin to rot, and reverse the effects of rotten code,
- Test-driven Development, which will explore 12 practical ways to start writing JUnit tests, and keep writing them when under pressure, and
- Project Automation, which will give participants the recipes for automating software projects.

Presenter: Mike Clark is a consultant, author, speaker, and programmer. He is the author of Pragmatic Project Automation (The Pragmatic Bookshelf, 2004), editor of the JUnit FAQ, a frequent speaker at software development conferences, and the creator of several popular open source tools. Mike helps teams build better software faster through his company, Clarkware Consulting (clarkware.com).

When: Saturday, February 5, 2005
Time: 10 a.m. to 6 p.m.
Note: Please arrive at 9:30 a.m. to expedite your check in.
Where: Hurricane Electric, 760 Mission Court Fremont, CA 94539
Phone: (510) 580-4141

The cost to attend this seminar is $199. Existing Hurricane Electric Customers will receive a 50% discount. Those who attend are eligible for one free month of colocation at Hurricane Electric, and will receive a free copy of Mike Clark’s new book, Pragmatic Project Automation.

Registration by phone or at Hurricane Electric.

Agitar Webinar: Turbo-Charged Test Driven Development with Agitator

12.13.2004 · Posted in News

Test Driven Development (TDD) is rapidly gaining popularity as a development practice that can significantly improve software design and quality. Agitar’s Agitator has been widely praised and reviewed as a uniquely powerful tool for developer testing. And when the key principles and practices of TDD are combined with the power and efficiency of software agitation, the result is far more than the sum of its parts. TDD with Agitator is a radical new approach for integrating software development and unit testing in a way that takes full advantage of the unprecedented level of automation, insight, and reuse made possible by Agitator.

Date: January 27, 10am PST
Duration: 1 hour
Click here for [url=https://agitar.webex.com/agitar/onstage/tool/event/event_detail.php?EventID=325306807&FirstEnter=1&GuestTimeZone=4&Rnd=1286140390]details and registration[/url].

XP Day Toronto 2005

12.13.2004 · Posted in News

"Inspired by the success of XP Day in Europe, Diaspar Software is hosting a one-day conference on Extreme Programming in Toronto, Ontario, Canada. The conference runs February 19, 2005, and features widely-known members of both the local and international XP community. The event features tutorials, a one-day project and Open Space, so there’s something for everyone."If you have never experienced Open Space before, XP Day Toronto provides you an excellent opportunity to make the conference your own. Propose your own topics to explore, then share with and learn from everyone. Attendees include local XP practitioners you might not otherwise have the chance to meet, our tutorial leaders and our distinguished guest and keynote speaker, Ron Jeffries."

Date: February 19, 2005
Location: Toronto, Ontario, Canada
More info and registration at XPDay.

(via Agile Alliance)

Announcing TestNG 2.0!

12.06.2004 · Posted in News

I am very happy to announce the availabilty of TestNG 2.0!

TestNG is a testing framework that fixes most of JUnit’s deficiencies and innovates in a number of ways: use of annotations, configurable dynamic invocation (no need to recompile), test method groups, dependent methods, external parameters, etc…

There is only one new feature in this release, but it’s quite a big one: JDK 1.4 support.Thanks to the restless efforts of Alexander "Mindstorm" Popescu, TestNG can now be run with JDK 1.4, using the familiar JavaDoc annotations.

Here is an example:

import com.beust.testng.annotations.*;

public class SimpleTest {

/**
* @testng.configuration beforeTestClass = "true"
*/
public void setUp() {
// code that will be invoked when this test is instantiated
}

/**
* @testng.test groups = "functest"
*/
public void testItWorks() {
// your test code
}
}

Using TestNG with JDK 1.4 is straightforward and very similar to how you invoke it with JDK 1.5, which will make future migrations easy:

* Include the TestNG jdk14 jar file in your classpath
* Specify a srcdir attribute in the testng ant task, so TestNG can locate your annotated sources

And that’s all! TestNG works exactly the same regardless of whether you use JavaDoc or JDK 1.5 annotations, and all the regression tests have been updated to make sure both versions cover the exact same features. For the record, we are using the excellent QDox to parse annotations and Doug Lea’s original concurrent utilities to implement parallel test runs.

Mock Objects for C++

12.04.2004 · Posted in News

I just read on this site (*) a comment about the complete lack of mock objects for C++.

This week I finished the port from jMock to C++ so I am pleased to announce that this is not true :-D . In fact this library has already been in existence for two years, and offers several well-known approaches from the Java world (as far as I understood them).

The latest release is in beta stage but I expect it to be quite stable since several hundred tests run fine.

Feel free to learn more about it at mockpp’s home page.

(* – Editor’s note: in Roy Osherove’s feed on Test Driven Development with C++: Much harder than it should be)

Testdriven.NET 1.0 is out

12.01.2004 · Posted in News

[img align=right]http://www.testdriven.net/Portals/0/r_alien.gif[/img]Jamie Cansdale and Jonathan de Halleux announce the release of Testdriven.NET 1.0, the Zero Friction Unit Testing Add-In for Microsoft Visual Studio .NET. Combined with MbUnit, the tool contains a wealth of utilities to help you develop test-first in all .NET languages.

"TestDriven.NET makes it easy to run unit tests with a single click, anywhere in your Visual Studio solutions. It supports all versions of Microsoft Visual Studio .NET meaning you don’t have to worry about compatibility issues and fully integrates with all major unit testing frameworks including NUnit, MbUnit, csUnit & Visual Studio Team System."

Report from the Developer Testing Forum at PARC

11.21.2004 · Posted in News

On November 17th, I had the pleasure and privilege to participate in the Developer Testing Forum help at PARC, in Palo Alto, CA.

There we 3 parts to the program: a talk by Sriram Sankar from Google, a panel of 4 developer testing experts, and a talk by Kent Beck. Below are some of the highlights that appealed to me.

The event was reasonably well attended for a workday, with over 100 participants from some of the biggest names in The Valley. Google’s presentation was very interesting in two ways: first Sriram described the slow, but deliberate adoption of XP methods and especially developer testing into Google’s egalitarian engineering culture. One of the concrete proofs that progress was being made was the increased stability of the build.

Sriram then went on to discuss how Google fights bugs that cannot possibly be reproduced by unit tests, either due to their irregularity as in race conditions or simply due to the fact that they obviously cannot have a copy of their production environment dedicated to testing. Among the techniques they employ are custom log, thread, and heap dump analysis tools. Another tool analyzed exception stack traces, then located the responsible developers via the SCM, and emailed them the problem report.

The panel largely focused on the issue of how to get developers “test-infected” and keep them that way. Rob Mee quoted my current boss, Christian Sepulveda, who is fond of saying that “developers who do not write unit tests are committing a form of professional negligence”. I subscribe to this opinion as well.

The most interesting part of the program in my opinion was Kent’s presentation on the future of developer testing. He based it around two assertions:

1. We must strive to develop healthy software, not just quality software. According to Kent, Quality is a measure of how well the software performs at the time it is deployed, but software Health forecasts how well it will respond to significant stress which may be extra load or requirements changes. The Health of the software was directly related to both the physical and mental health of its developers and to how well it is designed. Since Agile development achieves clean design incrementally through the application of refactoring, unit tests play an important role here. Kent stressed that when unit tests are difficult to write – it is almost always a design problem – making software testable is the hallmark of good design.

2. His second, and in my opinion most significant insight, was to present developer testing as a form of Accountability, specifically that tests clearly document what scenarios the developer considered when designing the software. According to Kent, the off-shoring phenomenon represents business’ search for accountability, not necessarily cheaper developers. He pointed out that many of the offshore development organizations carry high CMM certifications, which mostly make them accountable for each step in the development process.

This event demonstrated that we have made significant progress in getting developer testing recognized as an important practice in the software development process, but much remains to be done before we no longer have to make a fuss about it at all. For the rumor mill, there was talk of another developer testing event early next year with Microsoft’s participation.

Lastly, I plan to spend the next 3 months working at Agitar with their Agitator tool. I am thrilled to have an opportunity to work with their ground-breaking technology and hope to learn much about software testing in the process.

Regards,

David Vydra

Kent Beck to Deliver Keynote Speech at Developer Testing Forum

11.09.2004 · Posted in News

Developer testing is rapidly catching on as an extremely effective way to improve software quality and productivity. This forum, the first of its kind, brings together leading luminaries and practitioners of developer testing to share and discuss the current state and future directions for this important practice.

Venue change: the forum will take place November 17, 8:30am-12:30pm, at the Xerox PARC-George E. Pake Auditorium, 3333 Coyote Hill Road, Palo Alto, CA.The event includes a keynote presentation by Kent Beck, the father of eXtreme Programming and JUnit, as well as presentations and panel discussions on developer testing from other Bay Area companies such as Google, Oracle, and Wells Fargo.

The seminar is being organized by SDForum, the leading Silicon Valley not-for-profit organization providing an unbiased source of information and insight to the technology community for 20 years. SDForum provides a venue for engineers, executives, researchers, technology leaders, and venture capitalists to exchange information on emerging technologies and best practices.

Guests and Panelists:

Kent Beck, Fellow, Agitar Software
Russell Gold, Consultant Member of Technical Staff, Oracle Corporation
Rob Mee, Founder and President of Pivotal Computer Systems
Sri S. Muthu, VP of Investment Technology, Wells Fargo
Sriram Sankar, software engineer, Google
Alberto Savoia, Founder and CTO, Agitar Software
David Vydra, Software Engineer, Nominum, Inc.

Registration fees:
$20 SDForum Members
$35 Non-SDForum members

Visit [url=http://www.sdforum.org/SDForum/Templates/CalendarEvent.aspx?CID=1556&mo=11&yr=2004]SD Forum[/url] for further details and registration.

Missing tools?

10.02.2004 · Posted in News

Cédric Beust pointed me to the fact that his Java unit-testing framework, TestNG, was missing from both of testdriven.com’s last Advisories, even though version 1.1 was released three weeks ago, with better reporting facilities.

Advisories are published twice a month. Developers of build tools, unit or acceptance testing frameworks wishing to highlight features of their tool or eager to announce their framework before the advisory kicks in, are welcome to submit a separate announcement.

ADC 2004 papers available

09.20.2004 · Posted in News

Experience reports and research papers from the Agile Development Conference 2004 have been made available in PDF format.

View the list of Research papers

Related to TDD:
An Initial Exploration of the Relationship Between Pair Programming and Brooks’ Law by Laurie Williams, Anuja Shukla, and Annie Antón

View the list of Experience reports

Related to TDD:
Don’t Mock Me: Design Considerations for Mock Objects by Jeff Langr
Taming the Embedded Tiger by Nancy Van Schooenderwoert and Ron Morsicato

Agitar joins Eclipse

09.16.2004 · Posted in News

Agitar Software announces it has joined the Eclipse Foundation.

"While Eclipse support is already a feature in our current Agitator solution, we are on a path to delivering a fully-integrated application that allows Java programmers to do coding and unit testing seamlessly from a single IDE", said Jerry Rudisin, CEO of Agitar."Agitar’s innovative approach to enterprise developer testing offers tremendous benefits to the Eclipse community," said Mike Milinkovich, executive director of Eclipse. "Eclipse is pleased to welcome Agitar as a new member. Unit testing is increasingly important and we believe Agitar will make important contributions in advancing this critical technology."

Agitator, which uses innovative code analysis to produce a plethora of test cases, then smartly selects the most relevant ones to the developer for review, has been earning rave comments.

Kent Beck, author of [url=http://www.testdriven.com/modules/mylinks/singlelink.php?cid=10&lid=39]Test-Driven Development: By Example[/url], joined Agitar software earlier this summer.

Read the press release.
Visit Agitar Software, Eclipse Foundation.

SimpleTest 1.0RC1

08.27.2004 · Posted in News

The PHP unit tester, web tester and mock objects library has now reached stability. Barring bug fixes and documentation updates, the full release should be available in a couple of weeks. This last version completes frames support and smoothes some of the rough edges.

Read more about [url=http://www.testdriven.com/modules/mylinks/visit.php?cid=21&lid=77]SimpleTest[/url].

FoxUnit – Unit Testing Framework for Visual FoxPro

08.26.2004 · Posted in News

FoxUnit, a unit testing framework for Visual FoxPro has been released. While the implementation is a bit unique due to numerous architectural differences between VFP and most other languages/platforms, it has also given us the opportunity to implement some features not found in other unit testing frameworks.

For more information, visit FoxUnit.

Kent Beck Becomes Agitar Software Fellow

08.05.2004 · Posted in News

The father of test-driven development joined Agitar Software as Agitar Software Fellow. Agitar makes tools that automate and support developer testing.

Read more here

The editors of testdriven.com wish Kent great success in his new role.