Continuous Integration
Continuous Integration is an integral part of any successful project. Whether you are Agile, Waterfall or RUP, it makes sense to have your build as automated as possible. With Comet, you can now also get testability and coverage metrics with some simple ANT integration points.
Step 1: Set up your CI Environment
Whether you are using opensource applications like CruiseControl or Hudson or commercial ones, you first have to set up your environment.
Step 2: Add Comet Ant Tasks to Your Build File
Comet provides four different ant tasks that can be easily integrated into your existing build.
- Instrument - instrument your binary files
- Uninstrument - removes instrumentation from your binary files
- Import - import your coverage data
- Metrics - report testability, path and branch coverage metrics
Analyze Your Entire Code Base
Now, when you build, you can easily see how testable your code is and path and branch coverage.