testdriven.com Wrangling quality out of chaos

Archive for April, 2006

REBOL-Unit 1.9 Released

04.26.2006 · Posted in Tools

REBOL-Unit can be downloaded from http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=run.r.

Documentation is available at
http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=run.r&sid=iy7cf.

Test Early weblog

04.25.2006 · Posted in Links

Test Early is the leading industry weblog dedicated to early developer testing. Topics include build management, continuous integration, developer testing, code complexity, code coverage, code metrics, along with business perspectives and important industry news related to the general testing environment. Test Early is passionate about building software quality into the development process – this portal will be very beneficial to anyone seeking to make their code more defect-resistant.
link

Tags:

Doubler

04.24.2006 · Posted in Tools

Doubler is a code generator that makes unit testing easier. It is especially useful when working with legacy code. It is a Reflector add-in, a tool already woven into your workflow. It will help you cleave dependencies apart, create test doubles, and write unit tests with little effort and less coding.

Features

Doubler is a Reflector add-in that helps with creating unit tests. It offers four code generators:

* Recording Generator – Use against an abstract type. It will create a Recording Test Stub. Recorders generated have the following features for each method on the subject type:
— Property named Called of type Boolean that records if the method was called.
— Properties for each parameter passed named in the following format Passed<ParameterTypeName><ParameterName> of the same type as the parameter.
— Property named ReturnValue of the same type as return type of the subject method. If subject method is void this property is not created. When the method is called the this value is returned.
— Property named ExceptionToThrow of type Exception. When the method is called if this property is not null the property value is thrown.
* Wrapper/Interface Generator – Use against a concrete type. It will create a mirror interface of the subject type and an implementation of the interface that passes all calls to a private instance of the subject type. This can be used to help control dependencies, allowing unit tests to insert a test double in place of the subject (run the Recording Generator on the mirror interface).
* Fake Generator – Use against an abstract type. It will create a Fake Object.
* Test Generator – Use against a concrete type. It will generate a unit test fixture and test methods for each public method on the test subject. The test methods will contain a start on the unit test.

Download Version 0.5.5

Adopting an Agile Method

04.18.2006 · Posted in Links

This article presents the elements to consider before adopting an Agile Method.

Author: Alan S. Koch
Published: Methods & Tools, Spring 2006 issue
link

Tags:

Mockrunner 0.3.7 released

04.16.2006 · Posted in Java

The main feature of this release is multiple result set support for the JDBC test framework.

Other changes include:

– improved JDBC batch processing
– support for custom JNDI implementations
– TryCatchFinally support for the tag test framework
– many minor improvements and bug fixes

You can download this version from http://mockrunner.sourceforge.net

Article series: Crafting Java Code with Test-Driven Development

04.11.2006 · Posted in Links

A series of chapters patterned after Jeff Langr’s book, Agile Java: Crafting Code with Test-Driven Development:

The basicsGetting startedTesting equalityTesting hash codeShuffling and dealingHandling exceptionsRefactoring testsAdding some bulk

Author: Jeff Langr
Published: InformIT, 2005-2006
Other links to articles by Jeff Langr: InformIT – [url=http://www.testdriven.com/search.php?query=langr&action=results]testdriven.com[/url]
link

Podcast: Ward Cunningham discusses Eclipse, XP, Agile Development

04.09.2006 · Posted in News

In a recent interview, Ward Cunningham talks about social software, organizing for collaborative development and the future of software.

SQLSummit.com Podcast
(MP3 audio, playing time 20:01)

He discusses an evolution from using compilers for custom languages, to OOP and Smalltalk, extreme programming (XP) and agile development. He also discusses global collaboration, scripting, static vs. dynamic typing and the future of software.

Ward is the father of Wiki and Director of Community Development at the Eclipse Foundation.

TypeMock.NET version 3.1

04.07.2006 · Posted in Tools

The TypeMock.NET team is happy to announce the release of version 3.1.

TypeMock.NET enables developers to isolate and mock concrete classes, static methods and have full control of mocked instances. This gives you complete power to test your code without needing to refactor the code to make it testable.

This version includes:
* Support nAnt and MSBuild scripts.
* Support more code coverage tools. including (TestRunner, Clover.NET, Visual Studio 2005 Code Coverage)
* Automatic Initialization and much more.

Best of all the Community Edition is FREE

Download a FREE copy Here or use the TypeMock Forums for more infomation.

Sahi: Web automation and test tool

04.04.2006 · Posted in Links

Sahi is an automation and testing tool for web applications, with the facility to record and playback scripts. Developed in java and javascript, this tool uses simple javascript to execute events on the browser. Features include in-browser controls, text based scripts, ant support for playback of suites of tests, and multi-threaded playback. It supports HTTP and HTTPS.

Sahi runs as a proxy server and the browser needs to use the sahi server as its proxy. Sahi then injects javascript so that it can access elements in the webpage. This makes the tool independent of the website/web application.
link

Selenium on Rails [Screencast]

04.04.2006 · Posted in Links

In the demo I create a new Rails project, install Selenium on Rails, create a test case using Selenium IDE, create another in RSelenese, and run all the test as a Rake task.

The only setup not shown are installation/configuration of Selenium IDE and win32-open3.

Author: Jonas Bengtsson
Published: February 23, 2006
link

JTF: Javascript unit Testing Farm

04.04.2006 · Posted in Links

Javascript is present on almost every web page on the internet today, but many of these scripts do not work properly (or at all) on certain browser and operating systems combinations. This project provides a web front-end to allow you to test your javascript scripts on different browsers and operating systems. The aim is to highlight the browser combinations that do not work.
link

TestGen4Web: recording tool for Firefox

04.04.2006 · Posted in Links

TestGen4Web is a tool which records user actions on Firefox, saves the recording to an xml file, and replays the saved recording.

The output of the recorder can also be translated into automatic testing scripts such as httpunit, selenium, simple-test etc.

TestGen4Web has 2 parts: the recorder is a firefox extension, built on firefox 1.1+; the translator is a collection of translators written in any language.
link