Code coverage on running Java Applets

[English][Français]

Using CTC++ for Java and C# add-on with Java Applets

Detailed setup instructions can be found in the distribution package in file applets.txt. Mainly a bit preparation of the webserver, copying the runtime files, and just adding -applet to the javactc instrumenter frontend.

Coverage data upload

At the end of the applets stop() or a method of your choice the coverage data gets transfered back to a script on the Webserver.

That stop() method gets usually called in your Browser when you leave the page, or when pressing Reload.

That scripts then updates the coverage data file and generates the HTML report. This should take approximatly 3-5 seconds overall.

Key points

  • Runs over the Internet anywhere
  • No file access required at testing side
  • Runs in real browser, not only an Appletviewer ..
  • ... but can also be used in Appletviewer locally
  • No relaxing of security attributes required
  • Not patching of a JVM required

Examples

We currently have

 


last updated: 02.11.2007

© 2007 Verifysoft Technology GmbH
CTA++, CTC++, CMT++ and CMTJava are products of Testwell Oy, Tampere (Finland)
CTC++ for Java and C# Add-on is a product of Verifysoft Technology GmbH
all other trademarks of this site are the property of their respective owners.