Mar
10
2008
I am pleased to finally announce version 1.0 of DbFit. DbFit is an extension to FIT/FitNesse that makes test-driven database development easy. Version 1.0 (2008-03-10) is a major cleanup release, finally bringing proper documentation for the library as well. Grab it from SourceForge.
Continue Reading »
Feb
04
2008
I’m preparing for release 1.0 of DbFit — one of the new things will be support for In/Out parameters. A pre-release with this functionality is now available for testing.
- To use In/Out parameters, just define two columns for the same parameter. The one for OUT direction should have a question mark
- Order of parameters in the table is no longer important (it was in Java), so you should be able to put parameters in FitNesse pages in a different order then those in the database.
Here is an example:
|Execute procedure|MultiplyIO|
|factor|val|val?|
|10|5|50|
|2|8|16|
Introducing IN/OUT parameters required a huge change in the underlying parameter processing, please help by testing a pre-release and verifying that your old tests work with the new system as well.
SQL Server turned out to be especially tricky because there is no explicit IN/OUT flag on stored procedure parameters, and .NET driver does not expect all outputs to be simply declared as InputOutput, so there is an ugly workaround in the code to check whether an output parameter is also used for input. I do not expect any problems with this, but it’s best to double-check.
Get the binary builds for .NET and Java from SourceForge.
Jan
07
2008
Great news - SQLServer 2000 is now supported in DbFit. The only limitation, compared to Sql Server 2005, is that tables and procedures must be fully qualified (defined as schema.name), if there is an object of the same name in the current user’s schema and in dbo. The next official release will include sql server support — until then, you can download the binaries from Sourceforge: dbfit-dotnet-20080107.zip
the complete package, with acceptance tests, can also be downloaded from here: dbfit-complete-20080107.zip
For sqlserver 2000, use dbfit.SqlServer2000Test instead of dbfit.SqlServerTest.
Many thanks to Oscar Centeno for his help on implementing and testing support for Sql Server
Dec
27
2007
DbFit 0.93 has just been released. Pick it up from SourceForge.
New and noteworthy
- Storing query results into fixture symbols
- Comparing queries stored into symbols
- SQL Server support for GUID and SQL_Variant types (variant is treated like a string)
- .NET version updated to use FitNesse.Net 1.3
- Loading connection settings from a text file on server
Continue Reading »
Dec
06
2007
I’m building a new web site for DbFit and rewriting the documentation from scratch. For the new site, I would love to have some success stories and comments from people who are using the tool now. So if you are one of them, and you are happy with the tool, pretty please take a moment to write a short comment on what you are doing and how DbFit has helped you - one-liners are welcome as well. Please also ask your manager if I can mention your company name - I would like have a “who is using DbFit” page on the new web site as well. Click here for my contact information or just put the comment into the box below this post.
Thanks in advance.