524e1837bd6c482f0b0f8cb2eadc9758c021aa3d
wiki/development-environment.md
| ... | ... | @@ -63,6 +63,16 @@ As a special feature, release builds can automatically be performed and publishe |
| 63 | 63 | |
| 64 | 64 | You can follow the build triggered by this [here](http://hudson.sapsailing.com/job/SAPSailingAnalytics-release/). |
| 65 | 65 | |
| 66 | +### Plotting test results with the Measurement Plugin |
|
| 67 | + |
|
| 68 | +By default the duration of each test is published and can be viewed in comparison with older builds. It is possible to publish other values using the Measurement Plugin, which reads them out of a `MeasurementXMLFile`. |
|
| 69 | + |
|
| 70 | +``` |
|
| 71 | +MeasurementXMLFile performanceReport = new MeasurementXMLFile("TEST-" + getClass().getSimpleName() + ".xml", getClass().getSimpleName(), getClass().getName()); |
|
| 72 | +MeasurementCase performanceReportCase = performanceReport.addCase(getClass().getSimpleName()); |
|
| 73 | +performanceReportCase.addMeasurement(new Measurement("MeasurementName", measurementValue)); |
|
| 74 | +``` |
|
| 75 | + |
|
| 66 | 76 | ## Product, Features and Target Platform |
| 67 | 77 | The result of the build process is a p2 repository with a product consisting of a number of features. The product configuration is provided by the file raceanalysis.product in the com.sap.sailing.feature.p2build project. In its dependencies it defines the features of which it is built, which currently are com.sap.sailing.feature and com.sap.sailing.feature.runtime, each described in an equal-named bundle. The feature specified by com.sap.sailing.feature lists the bundles we develop ourselves as part of the project. The com.sap.sailing.feature.runtime feature lists those 3rd-party bundles from the target platform which are required by the product. |
| 68 | 78 | |
| ... | ... | @@ -81,4 +91,4 @@ We use the Highcharts library to present graphs to the user. These graphs are us |
| 81 | 91 | |
| 82 | 92 | To support polar diagrams we use version 3.5.0 of the wrapper. This version is tested with version 2.3.3 of the Highcharts library. We tried using 2.3.5 but that led to problems when resizing the RaceBoard. |
| 83 | 93 | |
| 84 | -Highcharts uses the jQuery library. We do know that version 1.4.2 does NOT work with the versions of Highcharts mentioned above. Multiple yAxis are not initialized correctly. We know use version 1.5.2 of this library. |
|
| 94 | +Highcharts uses the jQuery library. We do know that version 1.4.2 does NOT work with the versions of Highcharts mentioned above. Multiple yAxis are not initialized correctly. We know use version 1.5.2 of this library. |
|
| ... | ... | \ No newline at end of file |