Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 495993

Summary: Have infrastructure in place to run RCPTT tests automatically
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: enhancement    
Priority: P3 CC: julien.dupont, steve.monnier
Version: unspecifiedKeywords: triaged
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=72403dc3e4e12b73d5ae12043128fb9ba07ea6f1
https://git.eclipse.org/r/71311
https://git.eclipse.org/r/76125
https://git.eclipse.org/r/76535
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497248
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8b47bf2e3739adc020c6d5a68b7bb09bdf7bcd2e
Whiteboard:

Description Pierre-Charles David CLA 2016-06-13 09:16:47 EDT
We already have JUnit and SWTbot tests, but the SWTbot tests are quite unreliable and costly to develop. The patch at https://git.eclipse.org/r/71311 introduces RCPTT tests in the context of the new properties views, and https://github.com/ObeoNetwork/UML-Designer-UI-Tests/blob/master/.travis.yml#L54 show how running these can be fully automated.

This ticket is about introducing the necessary infrastructure, and probably some initial tests, to have a fully automated RCPTT-based Sirius test suite that we can expand afterwards.
Comment 2 Eclipse Genie CLA 2016-06-28 10:19:17 EDT
New Gerrit change created: https://git.eclipse.org/r/76125
Comment 3 Eclipse Genie CLA 2016-07-04 11:31:49 EDT
New Gerrit change created: https://git.eclipse.org/r/76535
Comment 4 Pierre-Charles David CLA 2016-07-05 05:09:11 EDT
A new CI job has been created at https://hudson.eclipse.org/sirius/job/sirius.rcptt-master/. Waiting for the patches mentioned above to be merged to test it.
Comment 6 Pierre-Charles David CLA 2016-07-06 03:32:01 EDT
This is mostly done, with https://hudson.eclipse.org/sirius/job/sirius.rcptt-master/ running all the existing tests (more are being added/fixed as part of bug #497248).

I'm leaving the ticket open because there will certainly be some adjustments and improvements (like better result reporting), but overall the basics are in place.
Comment 7 Pierre-Charles David CLA 2016-08-22 05:25:54 EDT
The job now archives the reports generated by RCCPT, see for example https://hudson.eclipse.org/sirius/job/sirius.rcptt-master/PLATFORM=neon,jdk=JDK-1.8.0/7/artifact/plugins/org.eclipse.sirius.tests.rcptt/target/results/rcpttTests.html.

I'm closing this. If we see specific issues to fix or improvements to implement, we'll create the corresponding tickets.
Comment 8 Julien Dupont CLA 2016-09-08 08:12:23 EDT
Technical issue
Comment 9 Pierre-Charles David CLA 2016-10-18 11:08:04 EDT
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.