Requirements Engineering, CSU Long Beach, Penzenstadler

(Difference between revisions)
Jump to: navigation, search
m
m
Line 90: Line 90:
 
* Brief overview of HFOSS and the planned activities
 
* Brief overview of HFOSS and the planned activities
 
* Review HFOSS projects for interest: [http://openmrs.org/]
 
* Review HFOSS projects for interest: [http://openmrs.org/]
* Activity: [[Practice EARS]] approach for OpenMRS requirements
+
* [[Practice EARS (Activity)]] approach for OpenMRS requirements
 
|
 
|
 
* [https://www.gnu.org/philosophy/free-sw.html Free software]
 
* [https://www.gnu.org/philosophy/free-sw.html Free software]
Line 105: Line 105:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-frameworks-standards Slides "Frameworks, templates, and standards"]  
 
[https://www.slideshare.net/kamikitty/requirements-engineering-frameworks-standards Slides "Frameworks, templates, and standards"]  
 
|
 
|
Activity [[Requirements engineering process]] (to be filled in, lab2)
+
[[Requirements engineering process (Activity)]] (to be filled in, lab2)
 
* Identify the requirements engineering process steps used in HFOSS project
 
* Identify the requirements engineering process steps used in HFOSS project
 
* Compare to traditional requirements engineering phases and artifact-oriented requirements engineering.
 
* Compare to traditional requirements engineering phases and artifact-oriented requirements engineering.
Activity [[Mapping Requirements Specification Standards]] (to be filled in, lab3)
+
[[Mapping Requirements Specification Standards (Activity)]] (to be filled in, lab3)
 
* Research the ISO RE standard 29148 and requirements specification templates.
 
* Research the ISO RE standard 29148 and requirements specification templates.
 
* Find the requirements documented for OpenMRS and sort the information into a requirements specification template.
 
* Find the requirements documented for OpenMRS and sort the information into a requirements specification template.
Line 127: Line 127:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-business-case-analysis Slides "Business Case Analysis"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-business-case-analysis Slides "Business Case Analysis"]
 
|
 
|
Activity [[Exploring artifact models]] (to be filled in)
+
[[Exploring artifact models (Activity)]] (to be filled in)
 
|
 
|
 
* AMDiRE article (link)
 
* AMDiRE article (link)
Line 137: Line 137:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-stakeholders Slides "Stakeholders"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-stakeholders Slides "Stakeholders"]
 
|
 
|
Activity [[(Re-)Engineering stakeholders, goals & questions]] part 1 (to be filled in, lab)
+
[[(Re-)Engineering stakeholders (Activity)]]
 
* Make list of stakeholders in HFOSS project
 
* Make list of stakeholders in HFOSS project
 
* Make stakeholder model (deliverable)
 
* Make stakeholder model (deliverable)
Line 149: Line 149:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-goals Slides "Goals and Constraints"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-goals Slides "Goals and Constraints"]
 
|
 
|
Activity [[(Re-)Engineering stakeholders, goals & questions]] part 2 (to be filled in)
+
[[(Re-)Engineering goals (Activity)]]
 
* Make list of goals in HFOSS project
 
* Make list of goals in HFOSS project
 
* Make goal model (deliverable)
 
* Make goal model (deliverable)
Line 163: Line 163:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-system-vision Slides "Information sources for system visions and quality assurance"] (2nd half of same slide set)
 
[https://www.slideshare.net/kamikitty/requirements-engineering-system-vision Slides "Information sources for system visions and quality assurance"] (2nd half of same slide set)
 
|
 
|
Activity: [[(Re-)Engineering a system vision]] (to be filled in)
+
[[(Re-)Engineering a system vision (Activity)]]
 
* Making a rich picture for the future OpenMRS
 
* Making a rich picture for the future OpenMRS
 
|
 
|
Line 174: Line 174:
 
* What are the surrounding systems ours interacts with?
 
* What are the surrounding systems ours interacts with?
 
[https://www.slideshare.net/kamikitty/requirements-engineering-domain-models Slides "Domain Models"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-domain-models Slides "Domain Models"]
|
+
| [[(Re-)Engineering a domain model (Activity)]]
Activity: [[(Re-)Engineering a domain model]] (to be created)
+
 
|
 
|
 
* read this
 
* read this
Line 194: Line 193:
 
* How will the system interact with the user?
 
* How will the system interact with the user?
 
[https://www.slideshare.net/kamikitty/requirements-engineering-usage-models Slides "Usage Models"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-usage-models Slides "Usage Models"]
|
+
| Use cases
* Activity: [[(Re-)Engineering use cases]] (to be filled in)
+
* Lab 1: [[(Re-)Engineering use cases (Activity)]]
* Refine/rework use cases after feedback (deliverable)
+
* Lab 2: Refine/rework use cases after feedback (deliverable)
 
|
 
|
 
* Cockburn Use Case Template
 
* Cockburn Use Case Template
 +
* Sindre/Opdahl: Misuse cases article (link)
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
 
| 10
 
| 10
 
| Scaling RE and RE tools
 
| Scaling RE and RE tools
* How to adapt RE for a specific procejt setting?  
+
* How to adapt RE for a specific project setting?  
 
[https://www.slideshare.net/kamikitty/requirements-engineering-scaling-re-requirements-refinement Slides "Scaling RE, refining requirements, and system models"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-scaling-re-requirements-refinement Slides "Scaling RE, refining requirements, and system models"]
 
* How to select RE tools?
 
* How to select RE tools?
 
[https://www.slideshare.net/kamikitty/requirements-engineering-re-tools Slides "RE Tools"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-re-tools Slides "RE Tools"]
 
| Tools and assessment
 
| Tools and assessment
* Activity: try out requirements engineering tools
+
* Activity for Lab 1: try out requirements engineering tools
* Write an assessment of one other requirements engineering tool
+
* Lab 2: Write an assessment of one other requirements engineering tool
 
|
 
|
 
* IEEE SW article on tool review
 
* IEEE SW article on tool review
Line 219: Line 219:
 
* How to specify which qualities need to be met?
 
* How to specify which qualities need to be met?
 
[https://www.slideshare.net/kamikitty/requirements-engineering-nonfunctional-requirements Slides "Classification of non-functional requirements"]  
 
[https://www.slideshare.net/kamikitty/requirements-engineering-nonfunctional-requirements Slides "Classification of non-functional requirements"]  
|
+
| Non-functional requirements
* Activity: [[(Re-)Engineering Quality requirements]] (to be filled in, NFR-lab)
+
* [[(Re-)Engineering Quality requirements (Activity)]]
 
|
 
|
 
* Martin Glinz, "Rethinking the notion of NFRs" (link)
 
* Martin Glinz, "Rethinking the notion of NFRs" (link)
 +
* Ameller, NFRS and architectural decision making (link)
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 229: Line 230:
 
* How to determine the quality characteristics?
 
* How to determine the quality characteristics?
 
[https://www.slideshare.net/kamikitty/requirements-engineering-quality-models Slides "Software quality models"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-quality-models Slides "Software quality models"]
|
+
| Quality models
 
* Activity: Perform peer review of non-functional requirements elaborated by other team and give feedback on how to improve them.
 
* Activity: Perform peer review of non-functional requirements elaborated by other team and give feedback on how to improve them.
 
|
 
|
Line 240: Line 241:
 
[https://www.slideshare.net/kamikitty/requirements-engineering-quality-assurance Slides "Quality assurance"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-quality-assurance Slides "Quality assurance"]
 
| Quality assurance in documentation
 
| Quality assurance in documentation
Activity: [[Documentation Quality Assurance]] (to be filled in, QA lab)
+
* [[Documentation Quality Assurance (Activity)]]
 
|
 
|
 
* IEEE 830-1998  
 
* IEEE 830-1998  
Line 255: Line 256:
 
* How to put it all together
 
* How to put it all together
 
[https://www.slideshare.net/kamikitty/requirements-engineering-wrapup-putting-it-all-together Slides "Wrap-up"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-wrapup-putting-it-all-together Slides "Wrap-up"]
 +
| Requirements management
 +
* Activity: [http://foss2serve.org/index.php/Intro_to_Bug_Trackers_(Activity) Bug tracker activity]
 +
* Requirements Rationales (lab discussion on article, [http://foss2serve.org/index.php/File:2017_542_ReqRationale.pdf req. rationale assignment sheet])
 
|
 
|
* Activity: Bug tracker activity (to be linked)
+
* Thurimella et al. Guidelines for managing requirements rationals, IEEE Software (link)
* Requirements Rationales (lab discussion on article)
+
|
+
* IEEE Software article on requirements rationales
+
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 266: Line 267:
 
* [https://www.slideshare.net/kamikitty/requirements-engineering-present-and-future-hot-research-topics Slides "Hot topics in current and future research"]  
 
* [https://www.slideshare.net/kamikitty/requirements-engineering-present-and-future-hot-research-topics Slides "Hot topics in current and future research"]  
 
* [https://www.slideshare.net/kamikitty/requirements-engineering-recap Slides "Recap"]
 
* [https://www.slideshare.net/kamikitty/requirements-engineering-recap Slides "Recap"]
| Final exam practice
+
| Practice exam (pdf)
 
|
 
|
* Practice exam
+
* Nuseibeh paper (link)
* Nuseibeh paper
+
* Cheng & Atlee paper (link)
* Cheng & Atlee paper
+
 
|}
 
|}
  
Line 292: Line 292:
  
 
* This course was held for the first time in Spring 2017.  
 
* This course was held for the first time in Spring 2017.  
* The data collected is still analysis.
+
* The data collected is still under analysis.
  
 
--------------------
 
--------------------

Revision as of 10:48, 20 July 2017

Contents

Overview

Course Requirements Engineering
Institution California State University Long Beach
Instructor(s) Birgit Penzenstadler
Term CECS 542, California State University Long Beach, Birgit Penzenstadler, 4th year undergraduate, or graduate
Course Overview Intermediate/advanced, elective.

This course aims to equip students to develop techniques of software-intensive systems through successful requirements analysis techniques and requirements engineering. Students learn systematic process of developing requirements through cooperative problem analysis, representation, and validation. Lecture 2 hours, Lab 4 hours. Semester long team project plus midterm and final exam. Letter grade only (A-F).

Course Length {{{courselength}}}
Student Characteristics 15-30 students of mixed backgrounds, some transfer, so not necessarily same software engineering knowledge
Prerequisites basic knowledge about the principles of software engineering and the software lifecycle
Infrastructure classroom, lab, slides, online materials


Learning Objectives

This course is the essential stepping-stone for conducting successful large, complex software engineering projects. It introduces students in depth to requirements engineering, which lays the foundation for design and all subsequent development phases. It prepares students for complex projects by introducing them to a variety of techniques that enable to analyze and specify requirements from different application domains and stakeholders. The course provides students with the necessary skillset to communicate, analyze, and negotiate with a wide range of potential stakeholders in a project. After completing the course students will be able to elicit, analyze, document and verify and validate requirements. In particular, they will be able to perform:

  • Stakeholder identification and analysis
  • Goal identification and analysis
  • Creating and refining a system vision
  • Developing a domain model of all involved application domains
  • Developing a usage model (in the form of UML use cases)
  • Eliciting and specifying quality requirements
  • Quality assurance techniques
  • Requirements management

Furthermore, they will be able to navigate a free open source software context with its development processes and best practices.

Methods of Assessment

The students will undertake a semester-long requirements engineering project, composed of individual, written assignments (to practice and demonstrate the skills from the course objectives above). Students may form teams of no more than three members. All members must participate equally, although not necessarily doing the same jobs. Per learning objective, there is a team assignment or an individual assignment that is worked on in lab and then further improved and finalized as homework.

Sample assignments:

  • Eliciting and documenting the stakeholders for a software system.
  • Developing a use case in UML.
  • Performing a review of quality requirements.

In addition, there are two exams, a midterm and a final. The author usually gives the students the respective midterm and final of the previous year as practice exams.

Course Outline

This course exposes students to the problem of determining and specifying what a proposed software system should do, why and for whom the system is needed, not how the system should do it, which is the topic of downstream software engineering activities such as design and coding. There are some nontechnical aspects of the course, with respect to communication and negotiation with multiple stakeholders. Most of the course covers technical approaches to the requirements problem, such as techniques for eliciting stakeholder goals and requirements, notations and models for documenting and specifying requirements, strategies for negotiating requirements, and techniques for analyzing documented requirements. In detail, the course covers the following topics (1 per week, 2 class meetings per week):

  1. Why do we need Requirements Engineering and what is it?
  2. Principles: Definitions, process, roles
  3. System Models: Decomposition and abstraction, system views
  4. Frameworks: What reference structures can I use for requirements?
  5. Business Case Analysis: Why are we building this system?
  6. Stakeholders: Who are the people to talk to about requirements?
  7. Goals and Constraints: What are the major objectives for the system?
  8. System Vision: What exactly do we want to achieve?
  9. Domain Models: What are the surrounding systems ours interacts with?
  10. Usage Models: How will the system interact with the user?
  11. Software quality models: How to determine the quality characteristics?
  12. Quality requirements: How to specify which qualities need to be met?
  13. Quality assurance: How to ensure that RE is done in a good way?
  14. Change management: How to evolve requirements?

The class consists of interactive lectures from faculty and of lab discussion sessions. The assignments that are carried out in teams will be discussed together in class. Students will benefit from structured lectures that cover an adequate number of examples to facilitate student learning and introduce students to the topics covered. The instructor will introduce all requirements engineering methods and techniques in lectures using a number of examples and hands-on collaborative exercises using HFOSS. Also students will be provided with individual and team assignments and projects that are done outside of class or lab.

The following table provides a course overview per week. Each row per week describes the lecture topic and lab topic and activities. Note that this course currently has two meetings per week and CSULB has 15 week semesters, so some topics may have to be shortened in a different course setting.

Week Lectures Labs / Activities Reading / Resources
1 Course Introduction
  • Syllabus
  • Why do we need Requirements Engineering and what is it?

Slides "Introduction to RE"

  • Introduction to natural language requirements

Slides EARS - "Easy Approach to Requirements Syntax"

Open source intro and EARS
  • Brief overview of HFOSS and the planned activities
  • Review HFOSS projects for interest: [1]
  • Practice EARS (Activity) approach for OpenMRS requirements
2 Processes and frameworks
  • What is the general process and what are the roles that perform RE?

Slides "Principles: Process and roles"

  • What reference structures can I use for requirements?

Slides "Frameworks, templates, and standards"

Requirements engineering process (Activity) (to be filled in, lab2)

  • Identify the requirements engineering process steps used in HFOSS project
  • Compare to traditional requirements engineering phases and artifact-oriented requirements engineering.

Mapping Requirements Specification Standards (Activity) (to be filled in, lab3)

  • Research the ISO RE standard 29148 and requirements specification templates.
  • Find the requirements documented for OpenMRS and sort the information into a requirements specification template.
3 Artifact-oriented requirements engineering
  • Artifact model for domain-indenpendent requirements engineering

Slides "AMDiRE"

  • Why are we building this system?

Slides "Business Case Analysis"

Exploring artifact models (Activity) (to be filled in)

  • AMDiRE article (link)
4 Stakeholders
  • Who are the people to talk to about requirements?

Slides "Stakeholders"

(Re-)Engineering stakeholders (Activity)

  • Make list of stakeholders in HFOSS project
  • Make stakeholder model (deliverable)
  • Onion model paper (link)
5 Goals
  • What are the major objectives for the system?

Slides "Goals and Constraints"

(Re-)Engineering goals (Activity)

  • Make list of goals in HFOSS project
  • Make goal model (deliverable)
  • Sustainability goal model paper (link Penzenstadler2013b)
6 System Vision
  • What exactly do we want to achieve?

Slides "System Vision"

  • What information sources do I need?

Slides "Information sources for system visions and quality assurance" (2nd half of same slide set)

(Re-)Engineering a system vision (Activity)

  • Making a rich picture for the future OpenMRS
  • Monk & Howard paper on Rich Pictures (link)
  • Online tutorial by TheOpenUniversity (link)
7 Domain Models
  • What are the surrounding systems ours interacts with?

Slides "Domain Models"

(Re-)Engineering a domain model (Activity)
  • read this
8 Midterm
  • Recap, questions and answers
  • Actual exam (pdf)

Q & A session

  • Practice exam (pdf)
9 Usage Models
  • How will the system interact with the user?

Slides "Usage Models"

Use cases
  • Cockburn Use Case Template
  • Sindre/Opdahl: Misuse cases article (link)
10 Scaling RE and RE tools
  • How to adapt RE for a specific project setting?

Slides "Scaling RE, refining requirements, and system models"

  • How to select RE tools?

Slides "RE Tools"

Tools and assessment
  • Activity for Lab 1: try out requirements engineering tools
  • Lab 2: Write an assessment of one other requirements engineering tool
  • IEEE SW article on tool review
11 Non-functional requirements
  • How to deal with requirements that are not about functionality?
  • How to specify which qualities need to be met?

Slides "Classification of non-functional requirements"

Non-functional requirements
  • Martin Glinz, "Rethinking the notion of NFRs" (link)
  • Ameller, NFRS and architectural decision making (link)
12 Quality models
  • How to determine the quality characteristics?

Slides "Software quality models"

Quality models
  • Activity: Perform peer review of non-functional requirements elaborated by other team and give feedback on how to improve them.
  • Software quality, the elusive target (Kitchenham)
13 Quality assurance
  • How to ensure that RE is done in a good way?

Slides "Quality assurance"

Quality assurance in documentation
  • IEEE 830-1998
  • ISO 25010 Standard for Software Quality Models
  • IEEE 730-2014 Standard for Software Quality Assurance Processes
14 Requirements management
  • How to evolve requirements?

Slides "Change management"

  • How to anticipate and plan for risks.

Slides "Risk management" (2nd half of slide set)

  • How to put it all together

Slides "Wrap-up"

Requirements management
  • Thurimella et al. Guidelines for managing requirements rationals, IEEE Software (link)
15 Research and Recap Practice exam (pdf)
  • Nuseibeh paper (link)
  • Cheng & Atlee paper (link)


Notes to Instructor

  • Lessons learned
    • Students like working with real systems as opposed to "toy systems" they come up with
    • Re-documenting a software system is kind of boring, so I'd suggest to find a happy medium in between letting students recover requirements and letting them come up with new ones.
    • It seems a little tough to get some open source communities interested in reengineering requirements, as they are focused on moving forward with the system and don't necessarily see a need for higher level requirements.
  • Books: Here are a couple of books on requirements engineering as this topic is not covered in depth within this wiki:
    • Karl Wiegers and Joy Beatty: “Software Requirements”
    • Axel van Lamsweerde: “Requirements Engineering”
    • Klaus Pohl: “Requirements Engineering”

For the HFOSS part of the course, please refer to the internal and external references in the table above.

Moving Forward

  • This course was held for the first time in Spring 2017.
  • The data collected is still under analysis.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png


Materials linked to by this page may be governed by other licenses.

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox