Requirements Engineering, CSU Long Beach, Penzenstadler

From TeachingOpenSource
Revision as of 21:42, 5 August 2024 by Heidi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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
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 BY SA.png


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