Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in...
Transcript of Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in...
![Page 1: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Requirements-Driven Workflows in Implementation and Test
![Page 2: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/2.jpg)
2
Requirements – why we care
1. Because it is in our interests to care
2. Because we have to care
![Page 3: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/3.jpg)
3
Requirements – why we care
The cost of the mission was $327.6 million
![Page 4: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/4.jpg)
4
Requirements – why we care
The hardest single part of building a software system is deciding
precisely what to build.
No other part of the conceptual work is as difficult as establishing the
detailed technical requirements… No other part of the work so
cripples the resulting system if done wrong.
No other part is as difficult to rectify later”
(Brooks, No Silver Bullet – Essence and Accident in Software Engineering, 1987)
![Page 5: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/5.jpg)
5
Requirements & Model-Based Design
Requirements
Models TestsSimulink Test
![Page 6: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/6.jpg)
6
Requirements & Model-Based DesignBecause we have questions to manage such as:
REQ 3.5 TARGET SPEED INCREMENT
While the cruise control mode is activated, the driver can increase the target speed by pushing the Set+ button.
Is this
implemented?
How is it
being tested?
Why is this
block
required?
What is the
test result?
What is the impact
of this requirement
changing?
What verification coverage of
my requirements do I have?
![Page 7: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/7.jpg)
7
New Verification and Validation Products
▪ Simulink Requirements – requirements authoring, editing, trace, management
Simulink Requirements
Simulink Check
Simulink Coverage Simulink
Verification and Validation
and earlier
![Page 8: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/8.jpg)
8
Simulink Requirements
Work with requirements without leaving Simulink
• Author or import requirements
• Trace to design, code and test
• Identify gaps in design or test
• Respond to requirement changes
![Page 9: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/9.jpg)
9
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 10: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/10.jpg)
10
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ API
![Page 11: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/11.jpg)
11
![Page 12: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/12.jpg)
13
Ability to Modify Custom Attributes
▪ Custom attribute name and description is editable.
▪ New entries for Combobox can be added.
▪ Attributes value will be kept.
Existing custom attributes can be
modified.
» Documentation: Custom Attributes of Requirement Sets
![Page 13: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/13.jpg)
14
Requirements Import with ReqIF Standard
▪ Import requirements from third party tools
using ReqIF standard (Requirements
Interexchange Format)
▪ Import wizard supports mapping custom
attributes
▪ Tools that support ReqIF standard:
– IBM DOORS / DOORS Next Generation
– Siemens Polarion
– PTC Integrity
Allows you to work with requirements
from third party tools in Simulink
» Documentation: Import Requirements from ReqIF Files
DOORS
DOORS
Next Generation
Siemens
Polarion
Siemens
TeamcenterPTC
Integrity
![Page 14: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/14.jpg)
15
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 15: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/15.jpg)
16
Link requirements to model (implementation)
![Page 16: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/16.jpg)
17
![Page 17: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/17.jpg)
18
![Page 18: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/18.jpg)
19
Link requirements to data (implementation)
![Page 19: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/19.jpg)
20
![Page 20: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/20.jpg)
21
Simulink Requirements
New File Extensions
1) .slreqx
File containing imported or authored requirements
2) .slmx
Where links are stored
![Page 21: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/21.jpg)
22
Managing Large Sets of Requirements
▪ Project may have thousands of requirements
▪ Simulink Requirements provides features to make it easier to find and navigate the requirements
▪ Customize browser view to only see relevant data
– Sort by column
– Select columns to display
▪ Keywords – add tags to requirements to categorize and search
▪ Search – filter and locate requirements by search term
![Page 22: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/22.jpg)
23
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 23: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/23.jpg)
24
Link requirements to test (verification)
![Page 24: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/24.jpg)
25
![Page 25: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/25.jpg)
26
![Page 26: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/26.jpg)
27
Test Execution Support
▪ Run all tests which are linked to selected
hierarchy of requirements
▪ Right-click on Requirement or Requirement
Set for option to run tests
Invoke linked tests to verify
requirements
» See: Review Requirement Verification Status Metrics Data
![Page 27: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/27.jpg)
28
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 28: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/28.jpg)
29
![Page 29: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/29.jpg)
30
Link Set Comparison support
▪ View added / removed / modified links
compared to previous revision.
▪ Improved change tracking by leveraging
Simulink Project and SCM integration
▪ Use visdiff for invoking from command-
line.
Track changes to requirements links by
comparing Link Set files
» Documentation: Compare Link Sets
![Page 30: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/30.jpg)
31
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 31: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/31.jpg)
32
![Page 32: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/32.jpg)
33
Agenda
▪ Importing requirements
▪ Tracing requirements to implementation
▪ Tracing requirements to tests
▪ Requirement change
▪ Reporting
▪ Programmatic interface
![Page 33: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/33.jpg)
34
Programmatic interface
![Page 34: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/34.jpg)
35
![Page 35: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/35.jpg)
36
Conclusions
![Page 36: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/36.jpg)
37
Simulink Requirements
Work with requirements and design together
• Author, edit and organize requirements
• View and link requirements within the
Simulink graphical editor
• Track status and manage requirement
changes
Notification of Requirement Changes
Implementation and Verification Status
![Page 37: Requirements-Driven Workflows in Implementation and Test · Requirements-Driven Workflows in Implementation and Test. 2 ... Run all tests which are linked to selected hierarchy of](https://reader034.fdocuments.in/reader034/viewer/2022042300/5ecb1784175edb27d35fd193/html5/thumbnails/37.jpg)
38
What next…
More information: mathworks.com/products/simulink-requirements.html
Feedback: [email protected]