eclipse-archived / triquetrum

Triquetrum project
Other
13 stars 14 forks source link

Provide automated GUI tests with RCPTT #249

Closed erwindl0 closed 7 years ago

erwindl0 commented 7 years ago

RCPTT is used by several projects of the science group (e.g. ChemClipse/OpenChrom) and with positive feedback. It promises GUI test automation for traditional RCP components and also GEF/Graphiti!

Cfr :

As the Triquetrum editor is getting more features (e.g. repository view, dynamic palette etc) while we're still refactoring underlying elements and models, we need automated tests to prevent regression issues.

Some basic test scenarios to start with (pls add more in comments) :

  1. Test wizard to create a new workflow model. Result must be a new diagram editor with correct name.
  2. Create HelloWorld model, with an SDF director, Const & Display actors, no actor config. (need to try out creating connections in RCPTT) And run it : check console output for execution success.
  3. Test actor/director in-place rename
  4. Test actor/director/parameter rename via cfg dialog
  5. Test more advanced actor configuration : add a port (e.g. with RecordDisassembler actor)
erwindl0 commented 7 years ago

Already a bit of info on using RCPTT for Triquetrum on our wiki : https://wiki.eclipse.org/Triquetrum/RCP_testing

erwindl0 commented 7 years ago

Need to update UI test scripts now, so they are compatible with the new actor icons where relevant.