Requirements Engineering, CSU Long Beach, Penzenstadler

From Foss2Serve
(Difference between revisions)
Jump to: navigation, search
m
m (Overview)
 
(11 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
CECS 542, California State University Long Beach, Birgit Penzenstadler, 4th year undergraduate, or graduate
 
CECS 542, California State University Long Beach, Birgit Penzenstadler, 4th year undergraduate, or graduate
 
|overview=
 
|overview=
Intermediate/advanced, elective.  
+
Intermediate/advanced, elective. <br/> This course aims to equip students to develop techniques of software-intensive systems through successful requirements analysis techniques and requirements engineering. <br/> Students learn systematic process of developing requirements through cooperative problem analysis, representation, and validation. <br/> Lecture 2 hours, Lab 4 hours. <br/> Semester long team project plus midterm and final exam.  
This course aims to equip students to develop techniques of software-intensive systems through successful requirements analysis techniques and requirements engineering.  
+
|courselength=15 weeks
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).
+
 
|students=
 
|students=
 
15-30 students of mixed backgrounds, some transfer, so not necessarily same software engineering knowledge
 
15-30 students of mixed backgrounds, some transfer, so not necessarily same software engineering knowledge
Line 26: Line 24:
  
 
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.
 
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.  
+
After completing the course students will be able to elicit, analyze, document and verify and validate requirements. <br/>
 
In particular, they will be able to perform:
 
In particular, they will be able to perform:
 
* Stakeholder identification and analysis
 
* Stakeholder identification and analysis
Line 84: Line 82:
 
* [http://foss2serve.org/index.php/File:2017_spring_542CourseSyllabus.pdf Syllabus]
 
* [http://foss2serve.org/index.php/File:2017_spring_542CourseSyllabus.pdf Syllabus]
 
* Why do we need Requirements Engineering and what is it?  
 
* Why do we need Requirements Engineering and what is it?  
[https://www.slideshare.net/kamikitty/requirements-engineering-introduction| Slides "Introduction to RE"]  
+
[https://www.slideshare.net/kamikitty/requirements-engineering-introduction?qid=427e2b42-e810-409a-a7ec-a26baca54015&v=&b=&from_search=2| Slides "Introduction to RE"]  
 
* Introduction to natural language requirements  
 
* Introduction to natural language requirements  
 
[https://www.slideshare.net/secret/NOcw2ahpblic2g Slides EARS - "Easy Approach to Requirements Syntax"]
 
[https://www.slideshare.net/secret/NOcw2ahpblic2g Slides EARS - "Easy Approach to Requirements Syntax"]
Line 112: Line 110:
 
[[Mapping Requirements Specification Standards (Activity)]]
 
[[Mapping Requirements Specification Standards (Activity)]]
 
* 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.
 
 
|
 
|
 
* [http://ieeexplore.ieee.org/document/720574/ Standard on Requirements Specifications IEEE 830]
 
* [http://ieeexplore.ieee.org/document/720574/ Standard on Requirements Specifications IEEE 830]
Line 130: Line 127:
 
|
 
|
 
[[Exploring artifact models (Activity)]]
 
[[Exploring artifact models (Activity)]]
 +
* Find the requirements documented for OpenMRS and sort the information into a requirements specification template.
 
|
 
|
 
* [https://link.springer.com/article/10.1007/s00766-014-0206-y AMDiRE article] by Mendez and Penzenstadler, Requirements Engineering, Springer
 
* [https://link.springer.com/article/10.1007/s00766-014-0206-y AMDiRE article] by Mendez and Penzenstadler, Requirements Engineering, Springer
Line 168: Line 166:
 
* Making a rich picture for the future OpenMRS
 
* Making a rich picture for the future OpenMRS
 
|
 
|
* Monk & Howard paper on Rich Pictures (link)
+
* [http://www.moodle2.tfe.umu.se/pluginfile.php/32063/mod_resource/content/1/Rich%20pictures%20-monk.pdf Monk & Howard: Methods & tools: the rich picture: a tool for reasoning about work context]
* Online tutorial by TheOpenUniversity (link)
+
* [http://systems.open.ac.uk/materials/T552/ Online tutorial for rich pictures] by The Open University
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 177: Line 175:
 
[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)]]  
 
| [[(Re-)Engineering a domain model (Activity)]]  
 +
* Develop a UML domain model for a system under analysis.
 
|
 
|
 
* [http://ieeexplore.ieee.org/abstract/document/130660/ Domain modeling for software engineering] by N. Iscoe, G.B. Williams, and G. Arango
 
* [http://ieeexplore.ieee.org/abstract/document/130660/ Domain modeling for software engineering] by N. Iscoe, G.B. Williams, and G. Arango
Line 184: Line 183:
 
| Midterm
 
| Midterm
 
* Recap, questions and answers  
 
* Recap, questions and answers  
* Actual exam (pdf)
+
* [http://foss2serve.org/index.php/File:MidtermSolution.pdf Midterm]
 
|
 
|
 
Q & A session
 
Q & A session
 +
* Discussion
 
|
 
|
* Practice exam (pdf)
+
* [http://foss2serve.org/index.php/File:MidtermPracticeSolution.pdf Midterm practice]
 +
 
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 199: Line 200:
 
* Lab 2: Refine/rework use cases after feedback (deliverable)
 
* Lab 2: Refine/rework use cases after feedback (deliverable)
 
|
 
|
* Cockburn Use Case Template
+
* [http://alistair.cockburn.us/Basic+use+case+template Cockburn's Use Case Template]
* Sindre/Opdahl: Misuse cases article (link)
+
* [https://link.springer.com/article/10.1007/s00766-004-0194-4 Sindre & Opdahl: Eliciting security requirements with misuse cases, REJ 2005]
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 211: Line 212:
 
| Tools and assessment
 
| Tools and assessment
 
* Activity for Lab 1: try out requirements engineering tools
 
* Activity for Lab 1: try out requirements engineering tools
* Lab 2: Write an assessment of one other requirements engineering tool
+
* Lab 2: Write an assessment of one other requirements engineering tool [http://foss2serve.org/index.php/File:2017_542_Lab_RE-Tools.pdf RE Tools Assignment Sheet]
 
|
 
|
* IEEE SW article on tool review
+
* [http://ieeexplore.ieee.org/abstract/document/5929527/ Requirements Engineering Tools] by Juan M. Carrillo de Gea et al., IEEE Software, 2011
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 224: Line 225:
 
* [[(Re-)Engineering Quality requirements (Activity)]]
 
* [[(Re-)Engineering Quality requirements (Activity)]]
 
|
 
|
* Martin Glinz, "Rethinking the notion of NFRs" (link)
+
* [http://www.ptidej.net/courses/log3410/fall11/Lectures/Article_5.pdf Rethinking the notion of non-functional requirements] by Martin Glinz, Proc. Third World Congress for Software Quality, 2005
* Ameller, NFRS and architectural decision making (link)
+
* [http://ieeexplore.ieee.org/abstract/document/6381398/ Non-functional requirements in architectural decision making] by D Ameller, C Ayala, J Cabot, X Franch - IEEE software, 2013
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 235: Line 236:
 
* 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.
 
|
 
|
* Software quality, the elusive target (Kitchenham)
+
* [http://ieeexplore.ieee.org/abstract/document/476281/ Software quality: the elusive target] by B Kitchenham, SL Pfleeger - IEEE software, 1996
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 243: Line 244:
 
[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
* [[Documentation Quality Assurance (Activity)]]  
+
* [http://foss2serve.org/index.php/File:2017_542_Lab_QA.pdf Quality Assurance Assignment sheet]  
 
|
 
|
* IEEE 830-1998
+
* [http://ieeexplore.ieee.org/document/720574/ Standard on Requirements Specifications IEEE 830]
* ISO 25010 Standard for Software Quality Models
+
* [https://www.iso.org/standard/45171.html ISO standard 29148 on Requirements engineering]
* IEEE 730-2014 Standard for Software Quality Assurance Processes
+
* [https://www.iso.org/standard/35733.html ISO 25010 Standard for Software Quality Models]
 +
* [https://standards.ieee.org/findstds/standard/730-2014.html IEEE 730-2014 Standard for Software Quality Assurance Processes]
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 260: Line 262:
 
| Requirements management
 
| Requirements management
 
* Activity: [http://foss2serve.org/index.php/Intro_to_Bug_Trackers_(Activity) Bug tracker activity]
 
* 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])
+
* Requirements Rationales (lab discussion on article, [http://foss2serve.org/index.php/File:2017_542_ReqRationale.pdf Rationales Assignment sheet])
 
|
 
|
* Thurimella et al. Guidelines for managing requirements rationals, IEEE Software (link)
+
* [http://ieeexplore.ieee.org/abstract/document/7325184/ Guidelines for Managing Requirements Rationales] by AK Thurimella et al. - IEEE Software, 2017
  
 
|- style="text-align:left; color:black"
 
|- style="text-align:left; color:black"
Line 271: Line 273:
 
* Recap of the 2nd half of the semester
 
* Recap of the 2nd half of the semester
 
[https://www.slideshare.net/kamikitty/requirements-engineering-recap Slides "Recap"]
 
[https://www.slideshare.net/kamikitty/requirements-engineering-recap Slides "Recap"]
| Practice exam (pdf)
+
| Final exam
 +
* [http://foss2serve.org/index.php/File:FinalPracticeSolution.pdf Final practice]
 +
* [http://foss2serve.org/index.php/File:FinalSolution.pdf Final]
 
|
 
|
* Nuseibeh paper (link)
+
* [http://dl.acm.org/citation.cfm?id=336523 Requirements engineering: a roadmap] by B Nuseibeh, S Easterbrook - Proceedings of the Conference on the Future of Software Engineering, 2000
* Cheng & Atlee paper (link)
+
* [http://dl.acm.org/citation.cfm?id=1254725 Research directions in requirements engineering] by BHC Cheng, JM Atlee - 2007 Future of Software Engineering, 2007
 
|}
 
|}
  
  
 
=== Notes to Instructor ===
 
=== Notes to Instructor ===
* If the whole set of activities seems to much, I have grouped a subset that contains the activities for [[(Re-)Engineering a Software Requirements Specification]] (to be completed) that leaves the other aspects (processes, standards, requirements management, etc.) aside.
+
* If the whole set of activities seems to much, I have grouped a subset that contains the activities for [[(Re-)Engineering a Software Requirements Specification]] that leaves the other aspects (processes, standards, requirements management, etc.) aside.
  
 
* Lessons learned
 
* Lessons learned
Line 287: Line 291:
  
 
* Books: Here are a couple of books on requirements engineering as this topic is not covered in depth within this wiki:
 
* 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”
+
** [https://books.google.at/books/about/Software_Requirements.html?id=40lDmAEACAAJ&redir_esc=y Karl Wiegers and Joy Beatty: “Software Requirements”]
** Axel van Lamsweerde: “Requirements Engineering”
+
** [https://books.google.at/books?id=AYk_AQAAIAAJ&q=Axel+van+Lamsweerde:+%E2%80%9CRequirements+Engineering%E2%80%9D&dq=Axel+van+Lamsweerde:+%E2%80%9CRequirements+Engineering%E2%80%9D&hl=en&sa=X&ved=0ahUKEwjL-oDB_KHVAhWLaRQKHTjdAPgQ6AEIJjAA Axel van Lamsweerde: “Requirements Engineering”]
** Klaus Pohl: “Requirements Engineering”
+
** [https://books.google.at/books?id=0i2ERQAACAAJ&dq=Klaus+Pohl:+%E2%80%9CRequirements+Engineering%E2%80%9D&hl=en&sa=X&ved=0ahUKEwjLiJTM_KHVAhXKbhQKHTnPAJ4Q6AEIJjAA Klaus Pohl: “Requirements Engineering”]
  
 
For the HFOSS part of the course, please refer to the internal and external references in the table above.
 
For the HFOSS part of the course, please refer to the internal and external references in the table above.
Line 303: Line 307:
 
Materials linked to by this page may be governed by other licenses.
 
Materials linked to by this page may be governed by other licenses.
  
[[Category: Courses]]
+
[[Category:Courses]]
 +
[[Category:Requirements Engineering]]
 +
[[Category:Specification and Design]]
 +
[[Category:Documentation]]
 +
[[Category:SE Requirements Engineering]]
 +
[[Category:Ready_to_Use]]

Latest revision as of 08:48, 27 January 2021

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.
Course Length 15 weeks
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)

  • 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)

  • Research the ISO RE standard 29148 and requirements specification templates.
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)

  • Find the requirements documented for OpenMRS and sort the information into a requirements specification template.
  • AMDiRE article by Mendez and Penzenstadler, Requirements Engineering, Springer
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)
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)
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
7 Domain Models
  • What are the surrounding systems ours interacts with?

Slides "Domain Models"

(Re-)Engineering a domain model (Activity)
  • Develop a UML domain model for a system under analysis.
8 Midterm
  • Recap, questions and answers
  • Midterm

Q & A session

  • Discussion


9 Usage Models
  • How will the system interact with the user?

Slides "Usage Models"

Use cases
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 RE Tools Assignment Sheet
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
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.
13 Quality assurance
  • How to ensure that RE is done in a good way?

Slides "Quality assurance"

Quality assurance in documentation
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
15 Research and Recap
  • Research topics

Slides "Hot topics in current and future research"

  • Recap of the 2nd half of the semester

Slides "Recap"

Final exam


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.

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 in the specific format presented above. The underlying course on requirements engineering has been developed and evolved over the past 10 years.
  • 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