rcptt: Update README.md file
[deliverable/tracecompass.git] / rcp / org.eclipse.tracecompass.rcp.rcptt.tests / README.md
1 # tracecompass-rcptt-test
2
3 Blackbox UI test using RCPTT for Trace Compass
4
5 ## How to run ?
6
7 You can run this project either via maven or via the RCP Testing Tool.
8
9 ### Local maven run
10
11 `mvn clean install`
12
13 Results will be located under `./target/results`.
14
15 By default maven will use the RCP built in `../rcp/org.eclipse.tracecompass.rcp.product`.
16 Therefore, if you only want to execute the tests in this folder and not the rest of the build,
17 you need to make sure that the product has been built first (`mvn clean install -Dmaven.test.skip=true` in the git repository root folder).
18
19 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/`.
20
21 ### Via RCPTT
22
23 In order to have the RCP and test traces, it is better to run with Maven first.
24 Once this is done, the project (this directory) can be imported in RCPTT.
25
26 To run the tests, open `test_suite/open_trace_suite` then click Execute at the top-right corner
27
28 A predefined launch is provided to ease with launching the tests.
29 This launch sets up the AUT path and dataPath (test traces).
30
31 If you are not using the default paths make sure to pass the correct arguments to
32 the AUT in the run configurations.
33
34 ![](http://i.imgur.com/J4ohsPE.png)
This page took 0.032056 seconds and 5 git commands to generate.