InfoQ

News

DbFit 1.0 With Enhanced Querying Capabilities and User Docs

Posted by Mike Bria on Mar 17, 2008 08:01 PM

Community
.NET,
Agile,
Java
Topics
Delivering Quality,
Unit Testing
Tags
Fit / Fitnesse,
Database,
Oracle,
SQL Server 2000,
TestDriven.NET
Gojko Adzic has recently announced the version 1.0 release of DbFit, his popular FIT/FitNesse extension used for practicing TDD on database code.  Gojko summarizes what's new and fresh with DbFit 1.0 as follows:
Major updates
  1. Support for in/out parameters in stored procedures.
  2. Support for querying stored results
  3. Support for SQL Server 2000 in .NET. Not as complete as Sql Server 2005, but should work in most cases.
  4. Support for testing blank-padded fixed length CHAR types.
  5. .NET version now compiled with FitNesse.NET 1.5
  6. Proper documentation — finally. The documentation is available as PDF and FitNesse (included in the dbfit-complete package) and also online at FitNesse.Info.
Minor updates
  1. Oracle date used as Timestamp to allow V8 compatibility switch to work
  2. Stored procedure params no longer have to be listed in the same order as in db
  3. GUID handler now just redirecting to standard GUID handler in .NET
  4. OrderedQuery and StoreParameter fixtures for standalone mode
  5. bugfix for transactions not getting rolled back in Java after tests in flow mode
  6. bugfix for ntext and text field sizes in sql server
  7. bugfix for fail[null] NullPointerException in Java
  8. workaround for fail[null] bug in fitnesse.net 1.5
  9. Acceptance tests now reorganised better.
Not long ago, Gojko had written in an article about what drove him to create DbFit, in which he comes to the following conclusion:
  • Agile practices make as much sense for the database as for anything else, they are just (a bit) harder to implement
  • To change the way people work, you need to get them enthusiastic, not compliant.
  • In order to get developers enthusiastic, focus on reducing dull work
  • DbFit solves two major problems with TDD of DB code: object-relational mismatch and DB specialists not being to write tests efficiently.
Check out the fully re-engineered documentation for more information on what DbFit is all about and how to make the most of the tool to help unit test your database code.

See Scott Ambler's popular Agile Data series for more expert advice on agile and tdd at the database layer, and also InfoQ's agile community for the very freshest on agile tools, techniques, debates, and ideas.

Related Sponsor

VersionOne is recognized by Agile practitioners as the leader in Agile project management tools. Companies such as Adobe, BBC, CNN, Dow, HP, IBM, Sony and 3M have turned to VersionOne to help deliver greater value to their customers.

2 comments

Reply

db-code, i know it's name now. by jack ding Posted Mar 18, 2008 7:24 AM
Re: db-code, i know it's name now. by Mike Bria Posted Mar 18, 2008 4:57 PM
  1. Back to top

    db-code, i know it's name now.

    Mar 18, 2008 7:24 AM by jack ding

    I've heard that some people writen db-code still nowadays.I hope they will jump out the well in let's guess 10 years.

  2. Back to top

    Re: db-code, i know it's name now.

    Mar 18, 2008 4:57 PM by Mike Bria

    Hi Jack -- Might you be able to clarify just a bit what you're note means. Thanks! --MB

Exclusive Content

Rob Windsor on WCF with REST, JSON and RSS

WCF is not just for SOAP based services and can be used with popular protocols like RSS, REST and JSON. Join Rob Windsor as he introduces WCF 3.5 and its new native support for non-SOAP services.

Christophe Coenraets Discusses Flex 3, AIR, and BlazeDS

Christophe Coenraets discusses Flex 3, Flex Builder, AIR, BlazeDS, Adobe and open source, integrating Flex with existing applications, and integrating RIAs with search engines and browsers.

Debunking Common Refactoring Misconceptions

Danijel Arsenovski attempts to dispel some of the myths around refactoring and how it applies to .NET developers.

REST Eye for the SOA Guy

In this presentation, recorded at QCon San Francisco, CORBA guru Steve Vinoski explains REST from the view of someone who comes to SOA from a traditional, RPC-oriented background.

Choose Feature Teams over Component Teams for Agility

Feature teams are key to scaling agility for large teams. In an excerpt from "Scaling Lean and Agile Development," Larman & Vodde show how feature teams resolve traditional problems & raise new issues

Billy Newport explains Virtualization

Billy Newport talks about virtualization, eXtreme Transaction Processing (XTP) and WebSphere Virtual Enterprise. He discusses hardware, hypervisor, JVM, application and data virtualization.

Virtualization and Security

While virtualization provides many benefits, security can not be a forgotten concept in its application.

Introduction to Agile for Traditional Project Managers

This session is specifically aimed at traditionally trained project managers who are new to Agile, and who would like to be able to relate the PMI's best practices to their Agile equivalents.