Commit | Line | Data |
---|---|---|
be3347d9 JR |
1 | # tracecompass-rcptt-test |
2 | Blackbox UI test using RCPTT for Trace Compass | |
3 | ||
4 | ## How to run ? | |
5 | ||
6 | You can run this project either via maven or via the RCP Testing Tool. | |
7 | ||
8 | ### Local maven run | |
9 | ||
10 | ``` | |
11 | mvn clean install | |
12 | ``` | |
13 | ||
14 | Results will be located under ./target/results. | |
15 | ||
16 | By default maven will use the RCP built in ../org.eclipse.tracecompass.rcp.product | |
17 | Therefore, if you only want to execute the tests in this folder and not the rest of the build, | |
18 | you need to make sure that the product has been built first (mvn clean install in the product folder). | |
19 | ||
20 | Test traces are being made available in a path defined as the "dataPath" system property. The test traces are being downloaded as part of the maven build and extracted in target/dependency/tracecompass-test-traces-ctf-jar | |
21 | ||
22 | ### Via RCPTT | |
23 | ||
24 | In order to have the RCP and test traces, it is better to run with Maven first. | |
25 | Once this is done, the project (this directory) can be imported in RCPTT. | |
26 | ||
27 | To run the tests, open test_suite/open_trace_suite then click Execute at the top-right corner | |
28 | ||
29 | A predefined launch is provided to ease with launching the tests. | |
30 | This launch sets up the AUT path and dataPath (test traces). | |
31 | ||
32 | If you are not using the default paths make sure to pass the correct arguments to | |
33 | the AUT in the run configurations. | |
34 | ||
35 | ![](http://i.imgur.com/J4ohsPE.png) |