testdriven.com Wrangling quality out of chaos

Archive for November, 2003

Free Seminar on Unit Testing for Emergent Design

11.25.2003 · Posted in News

Net Objectives Presents Scott Bain, in a free seminar in Palo Alto, CA, December 9, 2003 (6:30-9:00pm): Unit Testing for Emergent Design — JUnit Fundamentals and a Practical Demonstration of Test-First Design.

Emergent Design is the disciplined process of evolving strong designs through the process of testing, coding, and refactoring within an iterative, agile development process.

One key tool that is needed to maximize the efficiency of Emergent Design is automated unit testing. For Java developers, JUnit is a perfect solution.

More information at: NetObjectivesTopics to be discussed include:
– obtaining and installing JUnit
– creating a test case for an existing class
– creating a test and then creating a class to satisfy it
– creating suites of tests
– unit testing and exception handling (testing for expected exceptions and handling unexpected exceptions)

Learn about:
– the JUnit tool
– test-first design
– the role of testing in Emergent Design

Who should attend:
This seminar is intended for java developers and technical managers who want to investigate unit testing and test-first design. A good comfort level with Java is essential.

About the Presenter:
Scott Bain is a 24-year veteran in computer technology, with a background in development, engineering, and design. He has also designed, delivered, and managed training programs for certification and end-user skills, both in traditional classrooms and via distance learning. Scott teaches courses and consults on Design Patterns, XML, Refactoring and Unit Testing, and Test-Driven Development. Scott is a frequent speaker at developer conferences such as JavaOne and SDWest. He is the co-author (with Alan Shalloway) of "An Introduction to XML and its Family of Technologies" (ISBN: 0971363005; August 10, 2001) and is currently co-authoring Emergent Design: Refactoring and Design Patterns for Agile Development, also with Alan Shalloway.

Tuesday, December 9, 2003.
6:30-7:00 networking and pizza
7:00-9:00 the talk

Cubberley Community Center, Theatre
4000 Middlefield Road
Palo Alto, CA

Registration: Although this seminar is free, you must [url=http://www.netobjectives.com/reg_freesem_stcode_sendmail.htm?SemCd%3Duted0312can%26SemNm%3DUnit%20Testing%20for%20Emergent%20Design%2C%20Dec%209%20%2703%2C%20Palo%20Alto%20CA%26SemSt%3DCAn%26EFNm%3Duted0312can]register[/url] to Attend.

Contribution: A charitable contribution to the San Francisco Ronald McDonald House of $1-3 is requested for food and drink.

Syntropy Limited consulting

11.24.2003 · Posted in Links

Syntropy Limited consultants have worked on a wide range of projects, with sizes from two to over a hundred people. We’ve laboured under the millstone of burdensome documentation standards and irrelevant reporting. We’ve seen firsthand the inefficiency of lax process. We are acknowledged leaders in addressing the problems of dispersed development, where the team is spread across two or more locations.

We advocate the use of test-driven development as part of your development process. Our consultants have extensive practical experience of test-driven development and can incorporate it in the process we design for you.

Syntropy Limited
2 Stambourne Way
West Wickham
Kent BR4 9NF
Telephone or fax: +44 (0) 20 8777 6007

Jusc: Java Unit Test Selection Tool Based on Residual Structural Coverage

11.22.2003 · Posted in Links

The Jusc tool is a Java unit test selection tool based on residual structural coverage. Much of the code is taken from Hansel, an extension to JUnit that adds residual structural coverage testing to the testing framework. Some code related to instrumentation and command line options is taken from a method tracing tool. Jusc uses BCEL to perform on-the-fly instrumentation at class loading time.

Running Jusc on a test class containing a list of test methods, you can get a list of selected tests, each of which cover at least one new structural entity (method or branch in particular) from the class under test.

See also:
Tool-Assisted Unit Test Selection Based on Operational Violations [PDF]
Jov (Java Unit Test Selection Tool Based on Operational Violations)


Jov: Java Unit Test Selection Tool Based on Operational Violations

11.22.2003 · Posted in Links

Jov is a Java unit test selection tool based on operational violations. The current implementation integrates ParaSoft Jtest (a commercial Java unit test generation tool) and Daikon (an invariant detection tool).

See also:
Tool-Assisted Unit Test Selection Based on Operational Violations [PDF]
Jusc (Java Unit Test Selection Tool Based on Residual Structural Coverage)


HarnessIt: Complete Unit Testing for .NET

11.22.2003 · Posted in Links

HarnessIt is a unit testing software for .NET Developers. Whether you are someone looking for a simple but powerful unit testing solution, a follower of a "test-first" agile methodology such as Extreme Programming, or a developer that needs a fully-supported unit testing product, then download HarnessIt now and see for yourself how easy unit testing can be.

Commercial product. Trial copy available.

Martin Fowler to Present Indian Seminars on Agile Methodologies

11.22.2003 · Posted in Events

Software pioneer and renowned author Martin Fowler will share his insights on Agile methodologies at a four-hour seminar on November 27th in Channai and on November 29th in Bangalore, India.

Fowler is the Chief Scientist of ThoughtWorks, Inc. a leading application development and system integration firm. Also featured at this seminar will be additional segments by other ThoughtWorkers on Agile methodologies and software development techniques.The event designed specifically for enterprise-level software and integration I.T. practitioners will be held from 4:30 – 8:30 p.m. on Thursday, November 27th at the TIDEL Park Conference Center in Chennai then again on Saturday, November 29th at the Taj Residency Hotel in Bangalore from 10:00 a.m. – 4:00 p.m. There is no cost to this seminar. One can register for this event here. Seating is limited.

"In the last decade or so we’ve seen a number of new ideas added to the mix to help us effectively design software," Fowler said. "At the seminar, we’ll examine how patterns help capture the solutions and rationale for using them; how refactoring allows practitioners to alter the design of a system after code is written; and the way in which UML gives us a standard notation for drawing software designs. Additionally, we’ll discuss how Agile methods, such as Extreme Programming (XP), deliver a highly iterative and evolutionary approach to development that is particularly well suited to changing requirements and environments."

Over the past decade, Fowler has pioneered a host of software development techniques in the development of business information systems. He’s well known for his work in OO analysis and design, software patterns, Unified Modeling Language, Agile, and refactoring. He is a frequent speaker at international software conferences and edits the design column for IEEE Software Magazine. He has authored books, including "Analysis Patterns", "Refactoring", "Planning Extreme Programming", "UML Distilled", and "Patterns of Enterprise Application Architecture".

Event Coordinator:
Tina Vinod +91.80.5089572

Press Contact:
Rohit Bansal +91.80.5089572

Test Driven Development with NUnit and C#

11.22.2003 · Posted in Events

Jonathan Cogley of Thycotic Software Ltd will present background on unit testing, how it fits in .NET, how you can start using it today and tackle some of the common hurdles you may encounter (GUI testing, testing database code, untestable objects, etc).

We will also have a hands-on demonstration of test driven development Working with Visual Studio .NET and NUnit.

Location: Pittsburgh Technology Council
Date: Tuesday, December 09, 2003 (EST)
Further information: Pittsburgh’s .NET User Group, Slides from the presentation, Jonathan’s blog.

Unit Testing and Continuous Integration for Microsoft .NET

11.21.2003 · Posted in Links

X-Unity is a suite of development tools enabling unit testing and continuous integration activities on Microsoft .NET projects. Our solution targets individual developers as well as development teams with means of developing and running unit tests, performing unattended automated builds and carrying out continuous integration routines.

Announcement/Call For Contributors – Test Driven Eclipse

11.19.2003 · Posted in News

[The following is a re-post of a message by David Corbin to the Yahoo! Group TDD mailing list:]

In mid-October of 2003, "Philip" posted a message on the XP mailing list — "If IDE makers focused on tests…" where he outlined a number of potential features that would really demonstrate an IDE that was focused on testing.

In late October of 2003, Carl Manaster posted a conceptual prototype of "Zero Button Testing" to the TDD and XP mailing lists.

In November of 2003, J. B. Rainsberger mentioned he had Eclipse configured to run his tests everytime he saves a file.

All this has insprired me to form the Test Driven Eclipse (TDE) project.TDE is a project dedicated to making Eclipse the ideal environment for test infected developers. Right now, all that exists is a few ideas swirling in my head, a SourceForge project with one mailing list. Not one byte of code has been written yet to support this. This is a call for other participants (developers, idea people, writers, webmaster, etc.) to explore what this project should be, and build it.

In case some of you need some more inspiration, here’s a starting list of possible ideas (mostly from the above great minds):

* Automatically Execute tests on Save
* Automatically Execute tests edits
* Easy rollback to the last green-bar
* Color-code code based on test status
* Automatically create test rig with production code
* Quick-link between test code and corresponding production code and back again
* Easy to browse tree of Test suites/cases/methods
* Color code stack traces to seperate test-rig from production code
* Quick/more-automatic integration
* Integration runs tests
* If post-integration test fail, rollback automatically
* Identify what code lines are covered by what tests
* Language Independent Test Runner
* Cross Language Test Suites


Subscribe to the mailing list at http://lists.sourceforge.net/mailman/listinfo/tde-general and then offer your suggestion, comments, or even better, volunteer.

David Corbin

Test-Driven Development Is Not About Testing

11.12.2003 · Posted in Links

The point of TDD is to drive out the functionality the software actually needs, rather than what the programmer thinks it probably ought to have. The way it does this seems at first counterintuitive, if not downright silly, but it not only makes sense, it also quickly becomes a natural and elegant way to develop software.

Author: Dan North (Thoughtworks)
Published: November 3, 2003



Test-driven Development eBook available on Safari

11.07.2003 · Posted in News

[url=http://safari.oreilly.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-321-14653-0&open=false&g=&srchText=BOOK+AND+%28AUTHOR+beck%29&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&page=0]Test-Driven Development: By Example on Safari[/url]