Home
Welcome to the Cobertura for J2ME documentation. The following paragraphs provide introductionary information.
Use the menu on the left hand side to navigate through the different sections.
News
| 26-Sep-2008 |
Cobertura for J2ME is not dead |
|
|
It has been more than a year since I released 1.1.0 RC2 so it would be legitimate to think this project is dead. As of late I however found some time to look at it again. I am planning to get one more RC version out before freezing 1.1.0. I've given myself one month to get RC3 ready and 1.1.0 should follow shortly after. Stay tuned.
http://blog.dreameffect.org/2008/09/25/cobertura-for-j2me-is-not-dead
|
| 24-Jul-2007 |
Release 1.1.0 RC2 is out |
|
The new 1.1.0 release candidate has just been release. Get it while it's hot. The most notable changes are:
- Reorganised source code (several source directories)
- Moved all source code to org.cobertura4j2me package
- Updated documentation
- Added shutdown hook to J2SECoverageDataPersistence to allow using Cobertura for J2ME on desktop too.
- Cleaned up CoverageDataPersistence layer
- Updated documentation look and content
- Bug fixes:
#1758817: Error when using datafile attribute in merge task
|
| 17-May-2007 |
Release 1.1.0 RC1 is out |
|
The long overdue first 1.1.0 release candidate is finally out. Please give it a whirl. The Release Notes:
- Upgraded to ASM 2.2.3
- Upgraded to JavaNCSS 28.49
- Exposed cobertura4j2me ant tasks
- Added sample project with build script using ant tasks
- Added check ant task (thanks to Brian Moore)
- Changed all ant tasks prefix to 'cobertura4j2me'
- Updated documentation
|
| 16-Oct-2006 |
Web Site Updated |
|
| I updated this site with some more troubleshooting for when no coverage data is generated. Check out the FAQ section. |
| 15-Oct-2006 |
Release 1.1.0 On The Way |
|
| The release 1.1.0 developement has now started. The list of items currently planned for inclusion is this release are available here. |
What is Cobertura for J2ME?
Cobertura for J2ME is a Java(™) ME test coverage tool. In other words, it calculates the percentage of code executed by a test suite.
This tool is based on Cobertura v1.2, a free test coverage tool for J2SE.
It makes use of the following libraries:
Note: CLDC 1.1 and JSR75 FileConnection API are required to run Cobertura for J2ME.
How does it work?
Cobertura for J2ME adds instrumentation to the code (bytecode) you want to analyse.
Basically, each statement is followed by a call to the logging facility - part of
this tool. Therefore, at runtime the code executed is logged and the data stored in a file.
Afterwards, using this data file, Cobertura for J2ME generates a report providing the different
coverage metrics in html format.
back to top
Why is Cobertura for J2ME not part of Cobertura ?
As mentioned above, Cobertura for J2ME is
based on Cobertura. However due to the unique limitations of Java(™) ME, it was not possible to
easily fit its support within the parent project architecture. For example, serialisation is not
supported on Java(™) ME and the way to access the file system is also different. These issues required major redesign of the way the coverage data (or meta data) is handled and persisted. Therefore it was necessary to fork the code base and this is why
Cobertura for J2ME is a separate project.
back to top
|