TCAT/Java
LIVE Demonstrations on Standard Game Software

  • Click Here to Play TicTacToe with RealTime Coverage

  • Click Here to Play J-Othello with RealTime Coverage

  • Click Here to Play J-Othello with an Emailed Test Coverage Report

    LIVE EXAMPLES OF TCAT/Java

    You can see the power and challenge of coverage analysis by running either of these two examples of Java programs which have been instrumented to that you get real-time feedback.

    What You're Seeing

    The example Java programs are available in the public domain and are two simple games that you play using the Java applet executing on your browser.

    ../../../../AppNotes/TCAT-Java/jtcatgui.gif However, in each case we have processed the original Java code through the TCAT/Java instrumenter. After instrumentation the applet has been linked with one of the Java runtime libraries, in this case one that displays the achieved test coverage interactively to the browser + application display, as shown in the example to the left.

    How to Read the TCAT/Java Coverage Report

    Shown below is a sample of the coverage report that you will see when you execute the example.

    The data shown on the screen gives you this information about the application under test:


    Tic-Tac-Toe Example

    The Tic-Tac-Toe screen looks like the one below (shown part way through a game).

    You run the application by clicking on the squares and the Java program, playing against you, responds by making the best moves it can.

    IMPORTANT NOTE: To play your browser must be Java enabled. If it is not you may get blank screens and other unusual behavior.

    CLICK here to run TicTacToe with TCAT/Java with Live Coverage Reporting.

    J-Othello Example -- RealTime Coverage Reporting

    The J-Othello screen looks like the one shown at the left (part way through a game). The J-Othello game's goal is to capture land area, much like in the game of "go". You can choose the level of play and you can reset whenever you like.

    You run the application by clicking on the squares and the Java program, playing against you, responds by making the best moves it can.

    IMPORTANT NOTE: To play your browser just be Java enabled. If it is not you may get blank screens and other unusual behavior.

    CLICK There to run J-Othello with TCAT/Java with Live Coverage Reporting.

    J-Othello Example -- Remote Coverage Reporting

    This version of J-Othello is identical to the RealTime Coverage Reporting example above, except that the instrumentation has been performed with TestWorks' Remote Testing Technology.

    Play J-Othello as before and when the game opens on your browser you can fill in the Email address where you want your coverage data sent. While playing TCAT/Java is collecting dynamic coverage data and reporting it to our Website. When you are finished we collect the coverage data from our Website, format the tracefile into a coverage report, and Email the result to you (after a built-in 12-hour delay).

    NOTE: Be very careful when entering your Email address. If we do not have a "good" email address you can't receive your coverage report.

    IMPORTANT NOTE: To play your browser just be Java enabled. If it is not you may get blank screens and other unusual behavior.

    CLICK There to Run J-Othello with TCAT/Java with Remote Testing Technology enabled.

    Limitations

    NOTE: You MUST be using a Java enabled browser Otherwise this example will not work and you will get unusual results!

    HINT: On some Web browsers you will have to issue the command xhost + to avoid causing a security violation.

    NOTE: We have heard that some browsers, particularly those which run a "firewall", won't permit our applet to download properly. If this is the case you may get a message that refers to a "...security issue..."

    Trademark Notice

    TCAT/Java is a Trademark of Software Research, Inc.
    Java is a Trademark of SunSoft, Inc.