Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Lab 8: Requirements Review & Acceptance Planning

Ozgur Savascioglu edited this page Dec 2, 2025 · 17 revisions

Revisit Requirements

Newly Added Requirements (Feedback-Based)

1.2.3 Community Recipe Sharing — New Requirements

  • 1.2.3.11 – Users shall be able to share recipes directly to external platforms via a dedicated sharing interface.
  • 1.2.3.12 – Users shall be able to adjust portion size interactively, with dynamic recalculation of ingredients and per-portion price.
  • 1.2.3.13 – The system shall display dynamic visual indicators (color-coded icons) for nutritional values (High/Low).
  • 1.2.3.14 – The system shall automatically tag recipes with health attributes (e.g., "High Protein").

Update to Existing Requirement

  • 1.2.3.8 (Updated) – The system shall support Activity Streams 2.0 and provide a dedicated “Activity Stream UI” to display real-time updates from the community and followed users.

List of Planned Requirements to Be Implemented in Milestone 3

1.1 Functional Requirements

  • 1.1.2.2 – Registered users shall be able to upload, update, and remove their profile photo.
  • 1.1.2.3 – Registered users should be able to change their username and password.
  • 1.1.3.2.11 – Registered users shall be able to ask questions on the Q&A page. (Milestone 3)
  • 1.2.2.1 – The system shall provide a dedicated Q&A page where users can post questions related to healthy eating and nutrition, using accessible forms that support screen readers and keyboard navigation. (Milestone 3)
  • 1.2.2.2 – The system shall restrict responses to user questions on the Q&A page to verified dietitians only. (Milestone 3)
  • 1.2.2.6 – The system shall support internationalization (i18n) by displaying nutrition tips and Q&A content in the user’s preferred language and locale-specific formats. (Milestone 3)
  • 1.2.2.7 – The system shall provide transparent documentation of moderation rules for Q&A content to ensure fairness and non-discrimination. (Milestone 3)
  • 1.2.4.10 – The system shall detect allergens and provide accessible warnings, inclusive of diverse needs. (for mobile)

1.2 Non-Functional Requirements

  • 2.2.10 – API endpoints shall implement rate limiting (100 requests per hour per user) to prevent abuse.

Updated Statistics & Coverage Analysis

Updated Requirement Counts

Functional Requirements

Previously: 68
Newly added: +5 (1.2.3.11 to 1.2.3.15)

✔ Updated Functional Requirement Total: 73

Non-Functional Requirements

Still: 38


Updated Coverage Summary

Missing functional requirements: 8
Missing non-functional requirements: 2
Total missing: 10

📊 Coverage Table

Requirement Type Covered Will Be Covered Total Coverage %
Functional 65 8 73 89.0%
Non-Functional 36 2 38 94.7%
Overall 101 10 111 91.0%

Acceptance Test Planning

Before outlining our plans for upcoming acceptance tests, we wanted to briefly summarize our current status. Milestone 2 demonstrated strong technical stability across all platforms: the frontend shows a 97.3% unit test pass rate (476/488), the backend is close to full coverage with over 400 test cases, the mobile application maintains ~90% coverage with all tests passing, and we have added 50+ backend integration tests along with 12 complete end-to-end suites. In short, we can state that our coverage across all components is nearing full completeness, and we continue progressing toward that goal. We believe Milestone 3 can shift the focus from “does the code work?” to “does the product behave exactly as stakeholders/users expect?”

To ensure that the final delivery aligns with real user needs, the acceptance process will be guided by scenario-driven testing, cross-platform consistency checks, and well-defined non-functional expectations. The goal is to achieve 100% acceptance coverage across all critical user workflows.


Planning & Structure

1. Scenario-Centered Acceptance Suites

Acceptance tests will be organized around user workflows rather than technical modules. Each suite corresponds to an end-to-end user goal:

  • Onboarding and Authentication
  • Recipe Discovery + Cost & Nutrition Use
  • Meal Planning and Shopping List Generation
  • Community Participation and Reporting
  • Profile, Preferences and Health Ratings
  • Cross-device consistency (Web + Mobile)

Each scenario consolidates what unit, integration, and E2E tests already verify internally, but evaluates them from the user’s perspective.

Each scenario includes:

  • Preconditions (user type, meal plan state, language, currency)
  • Realistic steps matching actual usage
  • Expected outcomes written in stakeholder-level language
  • Negative/edge flows (invalid emails, missing ingredients, expired codes)
  • Cross-platform checks confirming the same behavior on Web + Mobile

This structure makes the acceptance layer an end-to-end validation filter, rather than another round of unit-style verification.


2. Cross-Platform Consistency Targets Using Milestone 2 Benchmarks

Milestone 2 established a near-complete technical foundation:

  • Frontend: 24 suites, 488 tests, 476 passing; 2 suite failures tied to UI format changes
  • Backend: 400+ unit tests, 50+ integration tests, multi-app coverage with no critical failures
  • Mobile: 10 test files, ~90% coverage, all tests passing after fixing 8 broken files

Acceptance tests will require:

  • All major acceptance scenarios to pass identically on Web and Mobile
  • No regressions in known weak spots (pagination format mismatch, tag translation gaps)
  • Full workflow coverage validated by backend integration tests (authentication → recipe → interactions)

This ensures the 97–100% technical coverage from Milestone 2 translates into 100% correctness in Milestone 3.


3. Non-Functional Acceptance Dimensions

Beyond correctness, acceptance tests will evaluate:

  • Usability: No ambiguous errors, no dead ends, clear success states
  • Responsiveness: Core pages load in ~2 seconds; heavy operations run without lag
  • Reliability: System remains stable during a 20–30 minute exploratory session
  • Consistency: Identical outcomes across Web API, UI, and Mobile

These criteria target stakeholder expectations that Milestone 2’s numerical testing could not fully cover.


Acceptance Criteria (Stakeholder-Focused)

1. Onboarding & Account Management

  • Registration → verification → login works smoothly
  • Password resets via code or link function clearly
  • Invalid input consistently triggers helpful messages
  • Session persistence aligns with Milestone 2’s authentication E2E tests

2. Recipe Discovery & Use

  • Filtering aligns with dietary/allergen rules
  • Cost & nutrition calculations match backend-tested logic (150+ recipe/ingredient tests)
  • Bookmark/like/rating actions respond consistently
  • Recipe details appear the same on Web and Mobile

3. Meal Planning & Shopping List

  • Weekly plans can be created, edited, deleted without broken flows
  • Suggestions respect dietary constraints
  • Shopping lists aggregate ingredients correctly, matching backend integration calculations
  • Results align with Milestone 2’s 50+ integration tests

4. Community & Moderation

  • Posts, comments, and votes update correctly cross-platform
  • Report handling matches backend “Reports” suite (~40 cases)
  • Invalid or harmful content is blocked cleanly

5. Profile, Preferences & Health

  • Currency, language, and unit preferences persist system-wide
  • Health ratings follow permission rules validated in backend coverage
  • Badges and recipe counts update accurately

6. System Stability & Experience

  • No crashes in key workflows
  • No silent failures
  • UI remains predictable and consistent across devices

Outcome for Milestone 3

With Milestone 2’s strong numerical base, the acceptance layer becomes the final filter ensuring the system behaves as users truly expect.
Milestone 3 succeeds only when every major user scenario passes on every platform, proving the delivered product is the right solution, not just a technically correct one.


Compliance Status

1. W3C Standards Compliance Assessment

1.1 Web Content Accessibility Guidelines (WCAG) 2.1 AA

Status: ✅ Fully Compliant
Implementation: PR #424
Coverage: Requirements 2.4.1–2.4.5 fully implemented
Evidence:

  • Verified AA-level color contrast ratios
  • Full keyboard navigation implemented
  • Screen-reader compatibility tested (ARIA roles, landmarks)

Ensuring Ongoing Compliance:

  • WCAG checklist included in PR reviews
  • Automated Lighthouse + axe-core audits in CI
  • Manual testing before final delivery

1.2 Internationalization (i18n) Standards

Status: ✅ Fully Compliant
Implementation: PRs #453, #461, #469
Coverage: BCP 47, UTF-8 encoding, locale-specific formatting
Evidence:

  • English/Turkish language support
  • Dynamic ingredient translation
  • Currency and locale-aware number formatting

Ensuring Ongoing Compliance:

  • i18n key linting and automated extraction
  • Manual EN/TR verification before each release
  • Translation update checklist for all PRs

1.3 Semantic HTML5 / Web Standards

Status: ✅ Fully Compliant
Implementation: Applied across all frontend components
Coverage: Semantic elements, ARIA roles, progressive enhancement
Evidence:

  • Standards-compliant markup validated
  • Screen-reader semantic structure tested

Ensuring Ongoing Compliance:

  • HTML5 lint rules in CI
  • Semantic structure review in PRs
  • Final audit using W3C Validator

1.4 Activity Streams 2.0

Status: ⚠️ Partially Compliant (~70%)
Implemented:

  • Social interactions (follow, bookmark, rate)
  • Activity recording logic

Missing:

  • Standardized JSON-LD activity feed (Requirement 2.6.1)

Gap Resolution Plan (Week 1):

  • Implement JSON-LD structure for user activities
  • Add activity objects for sharing, commenting, and community posts
  • Validate format against ActivityStreams 2.0 specification

Planned Implementation Template:

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Create",
  "actor": "https://fithub.com/users/123",
  "object": {
    "type": "Recipe",
    "name": "Budget-Friendly Pasta"
  }
}

1.5 RESTful API Design Standards

Status: ✅ Fully Compliant
Implementation:

  • Resource-oriented URL structure
  • Correct HTTP verbs and status codes
  • Comprehensive Swagger/OpenAPI documentation

Gap Resolution (Minor Enhancements):

  • Add missing response examples
  • Validate schemas using automated documentation tests

Ensuring Ongoing Compliance:

  • API schema linting integrated into CI
  • PRs require documentation updates
  • Final OpenAPI 3.0 validation

2. Plan to Address Compliance Gaps

Week 1 — Completion Phase

2.1 Activity Streams 2.0 Implementation

  • Implement JSON-LD activity format
  • Add complete activity object support
  • Ensure full compliance with Requirements 2.6.1 and 1.2.3.8
  • Add automated schema validation tests

2.2 API Documentation Finalization

  • Complete OpenAPI 3.0 specification
  • Add missing schemas, examples, and error formats
  • Integrate automated documentation tests in CI

3. Final Validation Plan (Week 2)

3.1 Automated Standards Testing

  • W3C HTML Validator: Validate all pages
  • WCAG 2.1 AA: Axe-core + WAVE scan
  • i18n: Locale consistency test for all language pairs
  • Performance: Stress + load testing
  • Security: Penetration testing and vulnerability scan

3.2 Manual QA Testing

  • Cross-browser and cross-device validation
  • Semantic inspection using screen readers
  • Manual translation corrections

4. Ensuring Full Compliance Before Final Delivery

4.1 Quality Assurance Framework

  • Daily CI validation for accessibility, standards, and API schema
  • Mandatory compliance checklist for every PR
  • Peer review focused on semantic, accessibility, and i18n compliance
  • Error budgets and fallback plans for critical features

4.2 Risk Mitigation

  • One-week buffer before final delivery
  • Backup implementation plans for Activity Streams
  • Dedicated compliance reviewers assigned per standard

4.3 Pre-Submission Protocol

  • Full W3C & WCAG validation
  • Independent accessibility audit
  • Final load/performance tests
  • Security scanning & penetration test results
  • OpenAPI review + publication
  • Cross-platform compatibility testing

Success Criteria:

  • 100% standards compliance
  • Zero critical issues or vulnerabilities
  • Full documentation completed

5. Compliance Timeline

Milestone Target Date Deliverable
Activity Streams 2.0 Complete Week 1 JSON-LD activity implementation
API Documentation Final Week 1 Full OpenAPI 3.0 compliance
Standards Testing Complete Week 2 All automated + manual tests passed
Independent Audit Week 2 External WCAG verification
Full Compliance Achieved 1 week before final delivery 100% validated

Expected Outcome: Full compliance with all W3C, testing, performance, and API standards with a 1-week buffer.
Risk Level: Low
Confidence Level: High

User Experience (UX) Assessment

1. Feedback Received

During our MVP customer observation sessions, we gathered valuable insights regarding both the visual interface and the functional flow of the application. The feedback highlights a mix of feature validation and specific pain points:

  • Positive Validation: Users explicitly appreciated the Profile Visit Page and found the Price Per Portion feature to be a unique and cool addition.
  • Navigation & Flow Issues: Users found the recipe sharing process cumbersome, noting a lack of direct navigation for sharing recipes (currently limited to copying from the shopping list).
  • Visual & UI Feedback: The analytics interface on the frontend was flagged as needing design improvements. Additionally, users suggested that nutritional symbols (Calories, Protein, etc) are currently too static and lack visual cues for high/low values.
  • Bugs: A functional bug was identified where the currency label does not update correctly on the frontend.
  • Feature Requests: There is a strong demand for an Activity Stream, which was highlighted as the "most important" missing standard. Users also requested more granular control over portion sizes regarding pricing and deeper nutritional data (e.g., "Golden Info" trivia and specific filters for Omega-3 or High Protein).

2. Required UX Improvements

Based on the feedback above, the following specific improvements are necessary to elevate the user experience:

  • Visual Polish:
    • Analytics UI: Redesign the analytics frontend to be more intuitive and visually appealing.
    • Dynamic Iconography: Implement dynamic icons for nutritional values (e.g., color-coded or shape-changing icons) that visually indicate whether a recipe is "High" or "Low" in calories or protein.
  • Functional Enhancements:
    • Sharing Flow: Refactor the sharing mechanism to allow direct navigation and sharing from the recipe page, rather than relying on the shopping list.
    • Portion Selector: Enhance the "Price Per Portion" feature by adding a selector that allows users to toggle the number of portions, dynamically updating the estimated price.
    • Currency Fix: Debug and fix the currency label issue to ensure it reflects the user's settings or location accurately. Content Enrichment:
    • "Golden Info" Integration: Add a dedicated section under recipes for educational or fun facts (e.g., specific health benefits of ingredients like Blueberries).
    • Expanded Filters: Add "High Protein" and "Omega-3 Rich" tags to the recipe detail screen and include them as filter options in the meal planner.

3. UX Goals for Final Delivery

Our overarching goals for the final delivery focus on standardization, engagement, and personalization:

  • Standardization via Schema.org: We aim to implement the Schema.org recipe standard. This will not only improve the system's architectural standardization but also ensure that high-quality mock recipes are easily discoverable and parsable.
  • Community & Engagement (The Activity Stream): Our primary goal is to implement the Activity Stream. As the most requested feature, this is critical for transforming the app from a static tool into a social platform where users can see standard community activities.
  • Seamless Personalization: We aim to deliver a highly personalized experience where users can filter meals not just by allergens, but by specific health goals (Omega-3, Protein), supported by dynamic visual feedback that makes nutritional decision-making effortless.

⚡ Milestone Reports

⚡ Milestone Demo Plan

👥 Team Members

🚀 Project

🧱 Diagrams

Milestone 1 Demo Plan

💬 Communication Plan

🆆 Weekly Reports

09-22 Week 1
09-29 Week 2
10-06 Week 3
10-13 Week 4
10-20 Week 5
10-27 Week 6
11-03 Week 7
11-10 Week 8
11-17 Week 9
11-24 Week 10
12-01 Week 11
12-08 Week 12

👥 Lab Reports

📋 Lab Agendas

📋 Weekly Meeting Agendas

👨‍🏫 Customer Meeting Notes

🧪 Lab Meeting Notes

📅 Meeting Notes

📂 Backend Subgroup Meeting Notes

📂 Frontend Subgroup Meeting Notes

📂 Mobile Subgroup Meeting Notes

📚 Archives

📌 Milestone Report

💬 Communication Plan

📋 Meeting Agendas

📅 Meeting Notes

📂 Backend Subgroup Meeting Notes

📂 Frontend Subgroup Meeting Notes

📂 Mobile Subgroup Meeting Notes

📚 Lecture Notes

🛠️ Team Best Practices

✍️ Guidance

❗ Issues

🚀 Project

👩‍💼 User Scenarios

Click to Expand ⬇️

🗂️ Templates

Clone this wiki locally