Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Capella/Studio/RegressionTests

List of the Capella Studio regression tests.

Viewpoint

Viewpoint DSL

Project creation

The following regression tests aim at validating the project creation.
ID: ViewpointDsl_00001 -> ViewpointDsl_00099

Id Nature Description Version Reference
ViewpointDsl_00001
RCPTT
New Viewpoint DSL Project

Input: --
Preconditions: --
Scenario:

  • Open new project wizard (File -> New -> Project...)
  • Select Kitalpha > Architecture Description >Viewpoint DSL Project -> Next>
  • Set viewpoint short name: QualityAssessment
  • Set viewpoint target application: Capella
  • Press Finish button
  • Check the content of the created project
All versions
Id Nature Description Version Reference
ViewpointDsl_00002
RCPTT
Reverse Ecore Model to Viewpoint DSL Project

Input: Project containing ecore model
Preconditions: --
Scenario:

  • Right click on Ecore model
  • Select Kitalpha > Reverse ecore to Viewpoint DSL
  • Press Finish button
  • Check the content of the created project
  • Open *.vpdesc model and check its content
All versions

Aspects specification

The following regression tests aim at:

  • Validating the creation of aspects
  • Using of the Capella artifacts when specifying the Aspects.

ID: ViewpointDsl_00100 -> ViewpointDsl_00299

Id Nature Description Version Reference
ViewpointDsl_00100
RCPTT
Data specification

Input:

  • Empty Viewpoint DSL project
  • Prepared Data specification in a textual file

Preconditions: --
Scenario:

  • Open the file containing the prepared data specification and copy its content to the clipboard
  • Open *.data.vptext and past the content of the clipboard
  • Save the *.data.vptext file
  • Open *.vpdesc model and check its content
All versions
Id Nature Description Version Reference
ViewpointDsl_00101
RCPTT
Diagram specification

Input:

  • Viewpoint DSL project containing a Data specification
  • Prepared Diagram specification in a textual file

Preconditions: --
Scenario:

  • Open the file containing the prepared diagram specification and copy its content to the clipboard
  • Open *.spec.vptext
  • Create Diagram Aspect thanks to auto-completion menu
  • Open *.diagram.vptext and past the content of the clipboard
  • Save the *.diagram.vptext file
  • Open *.vpdesc model and check its content
All versions
Id Nature Description Version Reference
ViewpointDsl_00102
RCPTT
Releng specification

Input: Viewpoint DSL project containing a Data specification
Preconditions: --
Scenario:

  • Open *.spec.vptext
  • Create Build Aspect thanks to auto-completion menu
  • Save the created file *.build.vptext
  • Open *.vpdesc model and check its content
All versions
Id Nature Description Version Reference
ViewpointDsl_00103
RCPTT
Service specification

Input:

  • Empty Viewpoint DSL project
  • Prepared Service specification in a textual file

Preconditions: --
Scenario:

  • Open the file containing the prepared service specification and copy its content to the clipboard
  • Open *.spec.vptext
  • Create Service Aspect thanks to auto-completion menu
  • Open *.service.vptext and past the content of the clipboard
  • Save the *.service.vptext file
  • Open *.vpdesc model and check its content
All versions
Id Nature Description Version Reference
ViewpointDsl_00104
RCPTT
User Interface (UI) specification

Input:

  • Viewpoint DSL project containing a Data specification
  • Prepared UI specification in a textual file

Preconditions: --
Scenario:

  • Open the file containing the prepared UI specification and copy its content to the clipboard
  • Open *.spec.vptext
  • Create UI Aspect thanks to auto-completion menu
  • Open *.ui.vptext and past the content of the clipboard
  • Save the *.ui.vptext file
  • Open *.vpdesc model and check its content
All versions
VPDSLEDITOR_00001
RCPTT
EMF Security Viewpoint - Edition generic viewpoints (Data aspect) - Generation 1.1.x EMF Security Viewpoint
VPDSLEDITOR_00002
RCPTT
Generate Vptext files from vpdesc 1.1.x generation Vpdesc To Vptext
VPDSLEDITOR_00003
RCPTT
Capella Studio Viewpoint - uses viewpoint from VPDSLEDITOR_00001 to develop a new one with TA Capella
  1. Data
  2. UI
  3. Diagram
  4. Activity Explorer
  5. Services
  6. Build
1.1.x Capella Security Viewpoint
VPDSLEDITOR_00004
RCPTT
Capella Studio Viewpoint - uses viewpoint from VPDSLEDITOR_00001 to develop a new one with TA Capella
  1. Data
  2. UI
  3. Diagram
  4. Activity Explorer
  5. Services
  6. Build
1.1.x Capella Security Viewpoint
VPDSLEDITOR_00006
RCPTT
Viewpoint Visibility specification 1.1.x ViewpointVisibility.test

Viewpoint Generation

The following regression tests aim at validating the viewpoint generation.
ID: ViewpointDsl_00300 -> ViewpointDsl_00399

Id Nature Description Version Reference
ViewpointDsl_00300
RCPTT
Generate Viewpoint

Input: Viewpoint DSL project with all possible Aspects
Preconditions: --
Scenario:

  • Right click on *.vpdesc model
  • Select Viewpoint DSL -> Generate Viewpoint
  • Wait for generated ends
  • Launch EMF Validation on the generated models: .ecore, .generationchain, .odesign, .vp, .egfbuild, .fcore, etc.
  • Check error log: accept only warning and information logs
  • Check the generated Eclipse Feature properties: included plugins and/or included features
  • Check the generated models content: .ecore, .generationchain, .odesign, .vp, .egfbuild, .fcore, etc.
  • Check the content of all projects in the workspace
All versions
Id Nature Description Version Reference
ViewpointDsl_00301
RCPTT
Generate and Package Viewpoint

Input: Viewpoint DSL project with all possible Aspects
Preconditions: --
Scenario:

  • Right click on *.vpdesc model
  • Select Viewpoint DSL -> Generate and Package Viewpoint
  • Wait for generated ends
  • Check the created Dropins folder existence
  • Launch EMF Validation on the generated models: .ecore, .generationchain, .odesign, .vp, .egfbuild, .fcore, etc.
  • Check error log: accept only warning and information logs
  • Check the generated Eclipse Feature properties: included plugins and/or included features
  • Check the generated models content: .ecore, .generationchain, .odesign, .vp, .egfbuild, .fcore, etc.
  • Check the content of all projects in the workspace
All versions

Detachment

Id Nature Description Version Reference
Detachment_00001
RCPTT
Detach basic Viewpoints from Capella Model (Sirius preferences aboute refresh are deactivate) 1.0.x
Detachment_00002
RCPTT
Detach basic Viewpoints from Capella Model (Select All button) (Sirius preferences aboute refresh are deactivate) 1.0.x https://bugs.polarsys.org/show_bug.cgi?id=1028
Detachment_00003
RCPTT
Detach basic Viewpoints from Capella Model with Viepwoints Layers (Sirius preferences aboute refresh are deactivate) 1.0.x https://bugs.polarsys.org/show_bug.cgi?id=1135
Detachment_00004
RCPTT
Detach basic Viewpoints from Capella Model (Sirius preferences aboute refresh are deactivate) 1.0.x https://bugs.polarsys.org/show_bug.cgi?id=1300 https://bugs.polarsys.org/show_bug.cgi?id=1301
Detachment_00005
RCPTT
Detach basic Viewpoints from Capella Model (Sirius preferences aboute refresh are deactivate) 1.0.x https://bugs.polarsys.org/show_bug.cgi?id=1305

Back to the top