SlideShare a Scribd company logo
Software Testing & Quality Assurance
Prof. Dr. Tariq Javid
Graduate School of Engineering Sciences & Information Technology
Faculty of Engineering Sciences & Technology
Hamdard University
Spring 2024
2
Requirements Management and
Traceability
3
Introduction
• Requirements Management
• Traceability
• Requirements Traceability Matrix
4
5
Requirements Management
• Process of identifying, analyzing, documenting, and tracking
software requirements throughout the development and testing
• To ensure software meet customer and user needs
• To ensure testing is focused on verifying, validating requirements
6
Traceability
• Ability to trace software requirements to specific test cases, code
modules, and other project artifacts
• To ensure software meets specified requirements
• To ensure changes to requirements are properly assessed and
implemented
7
Challenge in Tracking Project
Requirements
• Tracking project requirements can be challenging
• High depending on development environment
• Some projects may have a few requirements
• Some projects may have dozens or even more requirements
8
Requirements for Software Development
• Types of requirements should be considered for software development
• Business requirements
• User requirements
• UI requirements
• Functional and nonfunctional requirements
• Technical requirements
https://www.simplilearn.com/project-management-and-the-requirements-traceability-matrix-article#what_is_a_traceability_matrix
9
Effective Requirements Management
• Reduce defects and errors
• Improve software quality
• Increase customer satisfaction
• Reduce development time and costs
10
Why Traceability?
• Ensure requirements are accurately implemented
• Verify that tests cover all requirements
• Identify and address defects and errors early
• Manage changes to requirements and assess their impact on
software
11
Best Practices
• Use requirements management tool to document and track
requirements
• Develop requirements traceability matrix to trace requirements to test
cases and code modules
• Involve stakeholders in requirements analysis and prioritization
• Verify, validate requirements throughout development, testing process
• Use agile methodologies to iteratively develop and test software
12
https://katalon.com/resources-center/blog/agile-testing-
methodology
13
Tools
• DOORS, TestLink, Jama Connect
• Traceability Matrix, Requirements Traceability Tool, Case
Traceability Tool
• Jira, Trello, Asana
14
Example: Requirements Traceability
Matrix
Requirement ID Requirement Description Test Case ID Test Case Description Code Module Status
REQ-001
User shall be able to login
with valid credentials TC-001 Valid login credentials Login.java Implemented
REQ-002
User shall be able to view
dashboard after login TC-002
Dashboard display after
login Dashboard.jsp Implemented
REQ-003
User shall be able to create
new account TC-003 New account creation CreateAccount.java In Progress
REQ-004
User shall be able to edit
existing account
information TC-004 Edit account information EditAccount.jsp Not Started
REQ-005
User shall be able to delete
account TC-005 Account deletion DeleteAccount.java Not Started
15
Types of Traceability Matrix
• Forward Traceability … Mapping Requirements to Test Cases
• Backward Traceability … Mapping Test Cases to Requirements
• Bidirectional Traceability
16
Forward Traceability
• Forward traceability is used to map the requirements to the test
cases
• Not only will this establish that every requirement is being tested
from top to bottom, but it will also assist in confirming that a
project’s trajectory is sound
17
Backward Traceability
• You can make a backward traceability matrix by mapping test
cases with the requirements
• Doing so aids you in avoiding “scope creep” and going beyond the
initial requirements unnecessarily
18
Bidirectional Traceability
• Bidirectional traceability essentially combines forward and
backward traceability into one document
• This type is useful because it establishes that each requirement
has relating test cases
19
20
Reading
• Inflectra, Best Requirements Management Tools & Software for
2023, https://www.inflectra.com/tools/requirements-
management/10-best-requirements-traceability-tools, March 16,
2024, Last Accessed: June 1, 2024
• https://www.simplilearn.com/project-management-and-the-
requirements-traceability-matrix-
article#what_is_a_traceability_matrix

More Related Content

PPTX
STQA Lecture Slides 02.pptxhhhhhhhhhhhhh
PPT
quicksort.ppthhhhhhhhhhhhhhhhhhhhhhhhhhh
PPTX
dsppt-141121224848-conversion01 (1).pptx
PPTX
STQA Lecture Slides 09.pptxjjjjjjjjjjjjj
PPTX
Lecture 3 cs101aaaajajjajajajajjahhahah.pptx
PPTX
Lecture 2 cs101ahhahahahahhahhahhah.pptx
PPTX
Lecture 1avavvavavavavavavavvavavvavavava
PDF
lecture2-180129175419 (1).pdfhhhhhhhhhhh
STQA Lecture Slides 02.pptxhhhhhhhhhhhhh
quicksort.ppthhhhhhhhhhhhhhhhhhhhhhhhhhh
dsppt-141121224848-conversion01 (1).pptx
STQA Lecture Slides 09.pptxjjjjjjjjjjjjj
Lecture 3 cs101aaaajajjajajajajjahhahah.pptx
Lecture 2 cs101ahhahahahahhahhahhah.pptx
Lecture 1avavvavavavavavavavvavavvavavava
lecture2-180129175419 (1).pdfhhhhhhhhhhh

More from zoobiarana76 (8)

PPTX
PPT QC.pptxhjhjhkkkkkkkkhhuhuyyuyyyyyyyy
PPTX
bbbnnjxhxshjsjskshsjsjshssddhjddjdjddhgd
PPTX
Computational Learning Theory ppt.pptxhhhh
PDF
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
PPT
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
PDF
csonqc-150120184546-conversion-gate01.pdf
PPTX
Lecture1.pptxjendfkdmdmmdmmedhf bf fbbd ed
PPT
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
PPT QC.pptxhjhjhkkkkkkkkhhuhuyyuyyyyyyyy
bbbnnjxhxshjsjskshsjsjshssddhjddjdjddhgd
Computational Learning Theory ppt.pptxhhhh
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
hddhdhdhdhdhdhdhdhdhddhddhdhdhdhddhdhdddhdhdh
csonqc-150120184546-conversion-gate01.pdf
Lecture1.pptxjendfkdmdmmdmmedhf bf fbbd ed
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
Ad

Recently uploaded (20)

PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Computing-Curriculum for Schools in Ghana
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Trump Administration's workforce development strategy
PPTX
Cell Types and Its function , kingdom of life
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Updated Idioms and Phrasal Verbs in English subject
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
What if we spent less time fighting change, and more time building what’s rig...
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Final Presentation General Medicine 03-08-2024.pptx
Microbial disease of the cardiovascular and lymphatic systems
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Computing-Curriculum for Schools in Ghana
Chinmaya Tiranga quiz Grand Finale.pdf
Yogi Goddess Pres Conference Studio Updates
Trump Administration's workforce development strategy
Cell Types and Its function , kingdom of life
Weekly quiz Compilation Jan -July 25.pdf
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Updated Idioms and Phrasal Verbs in English subject
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
History, Philosophy and sociology of education (1).pptx
Ad

STQA Lecture Slides 08.pptxhhhhhhhhhkjjj

  • 1. Software Testing & Quality Assurance Prof. Dr. Tariq Javid Graduate School of Engineering Sciences & Information Technology Faculty of Engineering Sciences & Technology Hamdard University Spring 2024
  • 3. 3 Introduction • Requirements Management • Traceability • Requirements Traceability Matrix
  • 4. 4
  • 5. 5 Requirements Management • Process of identifying, analyzing, documenting, and tracking software requirements throughout the development and testing • To ensure software meet customer and user needs • To ensure testing is focused on verifying, validating requirements
  • 6. 6 Traceability • Ability to trace software requirements to specific test cases, code modules, and other project artifacts • To ensure software meets specified requirements • To ensure changes to requirements are properly assessed and implemented
  • 7. 7 Challenge in Tracking Project Requirements • Tracking project requirements can be challenging • High depending on development environment • Some projects may have a few requirements • Some projects may have dozens or even more requirements
  • 8. 8 Requirements for Software Development • Types of requirements should be considered for software development • Business requirements • User requirements • UI requirements • Functional and nonfunctional requirements • Technical requirements https://www.simplilearn.com/project-management-and-the-requirements-traceability-matrix-article#what_is_a_traceability_matrix
  • 9. 9 Effective Requirements Management • Reduce defects and errors • Improve software quality • Increase customer satisfaction • Reduce development time and costs
  • 10. 10 Why Traceability? • Ensure requirements are accurately implemented • Verify that tests cover all requirements • Identify and address defects and errors early • Manage changes to requirements and assess their impact on software
  • 11. 11 Best Practices • Use requirements management tool to document and track requirements • Develop requirements traceability matrix to trace requirements to test cases and code modules • Involve stakeholders in requirements analysis and prioritization • Verify, validate requirements throughout development, testing process • Use agile methodologies to iteratively develop and test software
  • 13. 13 Tools • DOORS, TestLink, Jama Connect • Traceability Matrix, Requirements Traceability Tool, Case Traceability Tool • Jira, Trello, Asana
  • 14. 14 Example: Requirements Traceability Matrix Requirement ID Requirement Description Test Case ID Test Case Description Code Module Status REQ-001 User shall be able to login with valid credentials TC-001 Valid login credentials Login.java Implemented REQ-002 User shall be able to view dashboard after login TC-002 Dashboard display after login Dashboard.jsp Implemented REQ-003 User shall be able to create new account TC-003 New account creation CreateAccount.java In Progress REQ-004 User shall be able to edit existing account information TC-004 Edit account information EditAccount.jsp Not Started REQ-005 User shall be able to delete account TC-005 Account deletion DeleteAccount.java Not Started
  • 15. 15 Types of Traceability Matrix • Forward Traceability … Mapping Requirements to Test Cases • Backward Traceability … Mapping Test Cases to Requirements • Bidirectional Traceability
  • 16. 16 Forward Traceability • Forward traceability is used to map the requirements to the test cases • Not only will this establish that every requirement is being tested from top to bottom, but it will also assist in confirming that a project’s trajectory is sound
  • 17. 17 Backward Traceability • You can make a backward traceability matrix by mapping test cases with the requirements • Doing so aids you in avoiding “scope creep” and going beyond the initial requirements unnecessarily
  • 18. 18 Bidirectional Traceability • Bidirectional traceability essentially combines forward and backward traceability into one document • This type is useful because it establishes that each requirement has relating test cases
  • 19. 19
  • 20. 20 Reading • Inflectra, Best Requirements Management Tools & Software for 2023, https://www.inflectra.com/tools/requirements- management/10-best-requirements-traceability-tools, March 16, 2024, Last Accessed: June 1, 2024 • https://www.simplilearn.com/project-management-and-the- requirements-traceability-matrix- article#what_is_a_traceability_matrix