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