Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329760 - [SysML 1.4][Requirement] TestCase should be shown with a specific representation
Summary: [SysML 1.4][Requirement] TestCase should be shown with a specific representation
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: SysML (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.11.0   Edit
Assignee: Project Inbox CLA
QA Contact: Benoit Maggi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 315780
  Show dependency tree
 
Reported: 2010-11-09 06:28 EST by Yann Tanguy CLA
Modified: 2017-09-15 04:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-11-09 06:28:42 EST
As any NamedElement, a TestCase can be shown (DND from model) in the Requirement diagram.

Instead of the Generic representation as a NamedElement a TestCase should have a specific representation (although it should probably not be created in Requirement diagram).

TestCase creation is not specific to a particular diagram as any Behavior (or Operation) can be candidate to be a TestCase. A possible support could be obtained with a SysML specific context command that offers to turn supported elements into TestCase (resulting in TestCase stereotype application).
Comment 1 Klaas Gadeyne CLA 2013-06-10 05:26:58 EDT
Or one could allow to create it in a Requirement Diagram, but use a extra window that allows to select the 'base element' which is extended by the TestCase stereotype?
Comment 2 Benoit Maggi CLA 2015-12-03 10:39:22 EST
@Klaas: Did you find the specific Testcase representation in the norm?
Comment 3 Klaas Gadeyne CLA 2015-12-04 09:41:26 EST
AFAICT, there is no specific representation besides the obligatory "<<testcase>>".

The "challenge" rather seems to be to create an efficient dialog in which the user can select the type of (non-abstract) behaviour (activity, statemachine) or operation that he wants to stereotype, depending on the diagram context.
Comment 4 Benoit Maggi CLA 2017-09-15 04:45:13 EDT
In 0.11.0 there is no popup but a stack in the requirement palette that provide concrete implementation for <<TestCase>>

Representation of most test case is a Rectangle with <<TestCase>> written
(for operation, the operation name is suffixed by <<testCase>>)