Zorro uses development process data and product metric data collected by Hackystat sensor to evaluate TDD conformance. Development process video is another data source that is used to validate Zorro. First of all, you should have Hackystat Eclipse sensor installed to collect development process data. Secondly, Eclipse Screen Recorder(ESR) should be installed to do video recording of the development process.
You can install Hackystat Eclipse sensor with hackyInstaller. Please refer to Chapter 2, Client-side configuration: Tool sensor installation for complete information on sensor installation.
The Eclipse Screen Recorder (ESR) is a screen capturing program implemented as an Eclipse plugin, which creates snapshots of the Eclipse window at regular intervals and encodes the results as a QuickTime movie. A website at here is maintained to publish ESR and its documentation. You will install ESR, install QuickTime and copy QTJava.zip into lib directory of ESR plugin to complete the installation.
Please select "Software Updates | Find and Install" in Help menu of Eclipse. Check on "Search for new features to install" and click next button to go to feature update window. Click the new remote site, enter name "Eclipse Screen Recorder" and URL <http://csdl.ics.hawaii.edu/Tools/Esr/> as Figure 10.1, “ ESR Installation with Eclipse Update Manager ” shows.
ESR encodes the captured screens into QuickTime video file using "QuickTime for Java" library. QuickTime must be installed to make ESR work and it can be downloaded for free at Apple website.
Typically QuickTime is installed in directory C:\Program Files\QuickTime and a zip file named QTJava.zip can be found in its subfolder QTSystem. You should copy this zip file into ESR's lib directory (for instance, C:\develop\3.1.2\eclipse\plugins\csdl.esr_1.2.2\lib) after QuickTime installation.
Restart Eclipse after you finish ESR and QuickTime installations, you will see two new buttons in Eclipse toolbar panel. One is in green and enabled, the other one looks like a stop sign and it is disabled. ESR will start the recording process if you click the green button. In the mean time green button will be disabled and red button will be enabled. If you click the red button, green button will be enabled again and red button will be disabled. Also a new QuickTime movie file will be created by ESR. Figure 10.2, “ Eclipse with ESR installed ” is a Eclipse screen dump with ESR installed, the start and stop buttons are highlighted in the blue rectangle.
By default ESR saves the recorded movies into subfolder eclipse_screen_recordings of your <ECLIPSE_HOME>. You can click the green button to start ESR, do some development activites in Eclipse, and press the red button to stop it. In eclipse_screen_recordings directory of Eclipse, there will have a QuickTime movie file named like esr-2006-05-08-11-12-23.mov. This file name includes year, month, day, hour, minute and second of the time when ESR starts the recording process. If there is no video file created, you should go back to make sure that QTJava.zip is copied into the right directory as in Section 10.2.2.2, “QuickTime Installation”
Parameters of ESR can be reconfigured in the preference windows with menu selection of "Window | Preferences | Eclipse Screen Recorder Settings". "Save Movies To" is the directory browing box to choose where you want ESR saves the video file. ESR will create a subfolder called eclipse_screen_recordings in the specified location, if not specified the default location is <ECLIPSE_HOME> directory.
The default movie resolution is 960*640. You can make it bigger to have clearer picture or smaller to have fast performance. ESR captures Eclipse screen with fixed interval ranging from 0.83~5 seconds. You can use the ruler to set frame per second (FPS) to a value between 0.2 and 1.2 in 0.2 increment. Codec quality can be set to low or high depends on your preference.
After ESR is configured, developers only need to press the green button to start ESR recording and red button to stop it. The file name is constructed automatically with the start time. The video file size will vary from 5MB to 8MB to an hour's software development.