testdriven.com Wrangling quality out of chaos

Archive for December, 2007

DbFit 0.93: Storing and Comparing queries

12.27.2007 · Posted in Advisories

A new release of DbFit is available for [url=http://sourceforge.net/project/showfiles.php?group_id=191053&package_id=224326&release_id=564297]download from SourceForge[/url].

DbFit is a free extension library for FIT/FitNesse testing framework. It allows developers to manipulate database objects in a relational style, making it much easier to manage and test database objects than with xUnit-style tests. DbFit supports .NET and Java integration tests, and Oracle, SQL Server and MySQL database engines.
Release 0.93 (2007-12-26) brings:

– 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 the server

For more information on DbFit, see http://gojko.net/fitnesse/dbfit

Redstone Software announces growing use of Eggplant to test Flash Applications

12.18.2007 · Posted in Advisories

REDSTONE SOFTWARE ANNOUNCES THE GROWING USE OF EGGPLANT TO TEST FLASH APPLICATIONS

Eggplant 4.01 turns testing on its head to handle FLASH testing with ease

New York, USA – December 15, 2007 – Redstone Software Inc, makers of Eggplant, the industry leading automation and testing product, announces rapid growth in the testing of Flash applications.
According to Adobe, Adobe Flash Player is “installed on over 750 million Internet-connected desktops and mobile devices” and has become a pervasive communication tool. However, the main way in which people have been able to test applications created to date is through manual testing – until now. Adobe Flash is a ubiquitous technology of huge and growing importance across the world because it allows the creation of the all important rich web experiences users have come to expect. It is frequently embraced by anyone who wants to create highly portable, visually rich and easy to use applications. Advances in the technology have seen it become one of the development environments of choice for mobile and desktop applications. Uses include display of web page video clips, web deployable software and creation of demos and tutorials.

While Adobe Flash applications are easy to use they are hard to test because there is no system level or programmatic access to applications written in Flash. This creates a quandary for Flash application developers. Users expect a rich, easy to use and error free experience meaning it needs testing perhaps more than most applications. However this is often costly, time consuming and manually intensive. Trying to effectively address this issue is something that many companies have struggled with for years.

Redstone’s customers chose Eggplant as a tool for testing the previously un-testable. Eggplant’s user-oriented approach makes testing Flash applications easy. Eggplant’s ability to work across multiple operating systems and browsers means that Flash applications can be developed, deployed and tested in all its various forms of deployment. Eggplant is also being used to test Flash applications running on mobile phones such as Symbian and Windows CE/Smartphone based systems.

“We didn’t design Eggplant to test Flash specifically. We designed it to test or automate anything but especially the all important user experience. Anyone that has an issue testing their Flash applications or tests them manually, such as online games, website and web deployed applications developers, now have an easy way to cut the cost of testing,” explains Christopher Young, Managing Director, Redstone Software. He went on to say, “Eggplant turns testing on its head. Where other tools struggle Eggplant excels. The ability to test Flash applications with ease is a huge win for us and our customers love it!”

Interested individuals and companies should contact Redstone Software at info@redstonesoftware.com or visit http://www.redstonesoftware.com.

About Redstone Software
Redstone Software, the company “Driving Success Through Automation”, is the leader in the development of image-based automation, testing and remote access software products. Redstone’s products are designed to recreate and enhance the end-user experience. Redstone’s flagship product, EggplantTM, tests any system, validates any platform and automates any process. Many of the world’s most successful organizations and individuals rely on Redstone Software to ensure delivery of the highest quality products and services and the best end-user experience possible. For more information, please visit www.redstonesoftware.com.

For further information, contact:

Christopher Young
Redstone Software
+44 1489 555582
cyoung@redstonesoftware.com

Emma Campbell
Redstone Software
+1 952 873 6809
emma@redstonesoftware.com

Bumblebee – agile documentation

12.09.2007 · Posted in Links

Bumblebee generates human-readable documentation from your JUnit test-structure. By adding comments powered with wiki-syntax and an extensible Ruby context for including snippets, runtime data and other content, you can create and maintain your system documentation with a minimum of effort.
link

merobase · Software Component Finder

12.09.2007 · Posted in Links

An advanced code search engine that simplifies the discovery and sharing of software components on the Internet and boosts programmer productivity through software reuse.

Recently added support for test-driven queries, i.e. only results are delivered that are likely to pass the given JUnit test case.

(a version with automated testing support is obviously under development, cf. http://www.veoh.com/videos/v13679456E3DYWHK)
link

Boost your teamwork for FREE with TeamCity 3.0!

12.09.2007 · Posted in News

Small and medium-size development teams can now benefit from TeamCity’s completely redesigned licensing scheme which makes its innovative productivity- and quality-enhancing features available at no cost. Two editions, Professional (free) and Enterprise, are now available to meet the specific needs of smaller and larger teams and projects.

TeamCity 3.0 continues to deliver superior automation and coordination of key collaborative processes to eliminate manual systems and delays and is tightly integrated with the most popular IDEs (IntelliJ IDEA, Eclipse and Microsoft Visual Studio), version control systems, multiple build and test tools, real-time unit test reports, server-side inspections and code coverage analysis.

The key new features of this release include:

• Per-project access rights with project roles – an exclusive feature of the Enterprise edition
• Build statistics charts, with declarative pluggable charts for user-defined metrics
• Pre-tested commit from Visual Studio for Subversion
• StarTeam support
• .NET Duplicates finder for catching similar code fragments of your C# and Visual Basic .NET code
• Java Inspections and Duplicates for Maven2 projects
• Version Control labeling for Subversion, CVS, Perforce, StarTeam, ClearCase
• “Hanging” builds auto-detection and thread dump capturing, for quick feedback on Java and .NET builds’ problems
• Display of build start/finish estimations in the build queue
• Build tags for organizing and quickly filtering builds

To learn more about new features in TeamCity 3.0, please visit
www.jetbrains.com/teamcity/features/newfeatures.html?tc30a.

For additional details about the new licensing scheme for Professional, Enterprise and Open Source licenses, see http://www.jetbrains.com/teamcity/buy/?tc30a .

Existing TeamCity users qualify for a free upgrade to the most feature-rich Enterprise edition. For details, go to http://www.jetbrains.com/teamcity/buy/index.html#upgradeuser?tc30a.
TeamCity 3.0 continues to deliver superior automation and coordination of key collaborative processes to eliminate manual systems and delays and is tightly integrated with the most popular IDEs (IntelliJ IDEA, Eclipse and Microsoft Visual Studio), version control systems, multiple build and test tools, real-time unit test reports, server-side inspections and code coverage analysis.

The key new features of this release include:

• Per-project access rights with project roles – an exclusive feature of the Enterprise edition
• Build statistics charts, with declarative pluggable charts for user-defined metrics
• Pre-tested commit from Visual Studio for Subversion
• StarTeam support
• .NET Duplicates finder for catching similar code fragments of your C# and Visual Basic .NET code
• Java Inspections and Duplicates for Maven2 projects
• Version Control labeling for Subversion, CVS, Perforce, StarTeam, ClearCase
• “Hanging” builds auto-detection and thread dump capturing, for quick feedback on Java and .NET builds’ problems
• Display of build start/finish estimations in the build queue
• Build tags for organizing and quickly filtering builds

To learn more about new features in TeamCity 3.0, please visit
www.jetbrains.com/teamcity/features/newfeatures.html?tc30a.

For additional details about the new licensing scheme for Professional, Enterprise and Open Source licenses, see http://www.jetbrains.com/teamcity/buy/?tc30a .

Existing TeamCity users qualify for a free upgrade to the most feature-rich Enterprise edition. For details, go to http://www.jetbrains.com/teamcity/buy/index.html#upgradeuser?tc30a.

Mocking LINQ Queries, Extension methods and Anonymous Types

12.09.2007 · Posted in Blogosphere

Via Roy Osherove,

One of the things I wanted to show at my Interactive session on unit testing tips and tricks at TechEd this year was how you can "Stub" out results from LINQ Queries, or mock\stub Extension methods in .NET 3.5
TypeMock, is a very powerful mocking framework. much more so than Rhino Mocks or NMock, because it allows isolating static methods, private methods, constructors, and basically anything you can do in IL, because it uses the .NET Profiler APIs to intercept method calls and do whatever it wants with them. In that regard, it is almost too powerful because it rids of of the need to actually design your code for testability, and just test it as is (how you actually write the tests is another matter for another post).

Read the rest of this post here.

DbFit 0.92: Better error reporting and easier regression tests

12.09.2007 · Posted in Tools

DbFit is a free extension library for FIT/FitNesse testing framework. It allows developers to manipulate database objects in a relational style, making it much easier to manage and test database objects than with xUnit-style tests. DbFit supports .NET and Java integration tests, and Oracle, SQL Server and MySQL database engines.

Release 0.92 (2o07-11-26) brings:

– Better error handling, DbFit now prints out missing column/parameter names and warns if table/procedure could not be found
– new Inspect fixture to help with regression tests: DatabaseTest has three methods to automate it: InspectQuery, InspectProcedure and InspectTable. These methods will quickly print out entire query results, structure of a procedure or a table/view in a form that can be easily converted to a regression test, or used as a template for ExecuteProcedure, Insert or Update tables.
– support for Oracle procedure and package synonyms
– Type details are read from SqlServer in a more efficient way, supporting objects with dots in names and fixing few edge cases where duplicate records were retrieved with 0.91
– null keyword handled correctly in Java

Latest release is available for download from [url=http://sourceforge.net/project/showfiles.php?group_id=191053&package_id=224326&release_id=556930]SourceForge[/url]. For more information on DbFit, see gojko.net

Urbancode releases AnthillPro Build and Release Server 3.4

12.09.2007 · Posted in Tools

Urbancode announces the release of AnthillPro 3.4, the newest version of its Continuous Integration, Build and Dependency Management, Deployment Automation, Test Orchestration, and Release Management tool.
AnthillPro provides a unique, holistic view of the entire software lifecycle – something we call an Application Lifecycle Automation server. AnthillPro supports teams developing in .Net, Java, and native languages and provides management of the build farm, test systems and deployment environments.

User Interface Changes

For version 3.4, the User Interface underwent significant changes to increase user productivity and make AnthillPro more intuitive. Now Ajax enabled, version 3.4 combines many common processes reducing the time users spend navigating from page to page. In addition to a new look, this release introduces a hierarchical project management scheme enabling users to organize projects, workflows, and jobs into folders; as well as new metrics and reports that place relevant information at the users’ fingertips.

Configuration Libraries

AnthillPro 3.4 also introduces a job library and a workflow library, allowing users to set up standardized build practices by reusing configuration across multiple projects. For teams with many similar projects, this represents a large savings in setup time and maintainence.

New And Improved Integrations
* SQL Server: AnthillPro can now store it’s data in a SQL Server instance
* Telelogic Synergy is supported as a source repository
* Microsoft Team Foundation Server is supported as a source repository.
* SourceGear Vault is supported as a source repository
* MsBuild supported natively
* Mercury Quality Center issue tracking
* Maven2 now works in tandem with Anthill’s embedded dependency management system: CodeStation

Other New Features:

* A Guest Account – optional read only account providing access to public information
* Restart failed workflows from the point of failure
* System tray tool can push build status updates to your desktop
* Central location to download IDE plugins, customization APIs, etc.

Find out more about AnthillPro.

Download Urbancode’s AnthillPro and try it yourself.

AnthillPro is commercially licensed to teams ranging from a handful of developers to the enterprise with thousands of developers. Urbancode continues to support Open Source Software with complimentary licenses.

SevenMock Mock Objects is Released

12.09.2007 · Posted in Tools

SevenMock is a light-weight Java dynamic mock objects implementation.

It works in a similar way to EasyMock and jMock, but is unusual in that it places responsibility for verifying operation parameters directly on the unit test code by using expectation call-backs. This enables the test designer to write very clear, precisely targeted tests and makes test failures easier to diagnose – any stacktrace produced will point directly back to test code rather than framework code.