|
Modern software development practices such as Microsoft Solutions Framework and
Extreme Programming encourage usage of unit tests to ensure code quality
up-front. This has turned out to be much more efficient than lengthy periods of
debugging, sometimes without foreseeable zero-bug release. Continuous
integration, or at least daily builds, greatly increases the rate of early
detected defects and also guarantees availability of a "Last Known
Good" build.
X-Unity Unit Testing and Continuous Integration suite enables individual
developers as well as development teams with means for developing and running
unit tests, establishing unattended automated builds and continuous integration
routines.
X-Unity Product Family Tour
Download the X-Unity Product Family Tour
PowerPointTM presentation (3 MB, approximately 15 min. @33600 bps) and take the tour
guiding you through the concepts of unit testing and test-driven development as
well as X-Unity features, and showing you how to employ our products to improve
the quality of your software.
You should have Microsoft Office 2000 or higher installed to view the Product Tour.
You can also use the PowerPoint Viewer tool from Microsoft Office 2000 or higher.
X-Unity in Action
X-Unity can be used at various phases of the development process to support
test-driven design and development, facilitate continuous integration and
ensure high software quality.
The diagram below illustrates how the components and tools comprising the suite
are involved in the development process.
Developing Unit Tests
The Unit Test Development Kit shipped as a part of the
X-Unity suite provides a foundation for test suites and test cases created by
the developers.
Running Unit Tests
X-Unity unit testing tools include stand-alone GUI and console applications as
well as a Visual Studio .NET add-in that run unit tests and report the results
to the developer:
-
X-Unity 2 Test Studio – a Visual Studio .NET add-in enabling solution-wide unit
testing in Visual Studio .NET 2002 and 2003 (versions 7.0 and 7.1 respectively)
-
X-Unity Developer Workplace GUI Edition – a stand-alone GUI application for
running unit tests
-
X-Unity Developer Workplace Console Edition – a stand-alone console application
for running unit tests
Scheduling Automated Builds
In addition to the variety of unit testing tools, the X-Unity suite contains an
Automated Build and Testing Utility that carries out unattended builds on a
scheduled basis. The utility can retrieve source code from a source control
system before it starts the build and notify a responsible person in case of
any build problems, thus ensuring any bad code breaking the build is early
detected and fixed.
Enabling Continuous Integration
The Automated Build and Testing Utility goes beyond
automated builds and complements them with automated testing. Being supplied
with an XML-based solution test configuration file, it runs all available unit
tests from each assembly (test target) specified in the configuration. If all
tests pass, the utility can label the source code in the source control system
as "Last Known Good". On the other hand, if there have been failed tests, the
developers responsible for these tests will be notified by e-mail.
|