Repository navigation
Lab 8: Requirements Review & Acceptance Planning
- 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").
- 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.
- 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)
- 2.2.10 – API endpoints shall implement rate limiting (100 requests per hour per user) to prevent abuse.
Previously: 68
Newly added: +5 (1.2.3.11 to 1.2.3.15)
✔ Updated Functional Requirement Total: 73
Still: 38
Missing functional requirements: 8
Missing non-functional requirements: 2
Total missing: 10
| 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% |
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.
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.
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.
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.
- 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
- 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
- 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
- Posts, comments, and votes update correctly cross-platform
- Report handling matches backend “Reports” suite (~40 cases)
- Invalid or harmful content is blocked cleanly
- Currency, language, and unit preferences persist system-wide
- Health ratings follow permission rules validated in backend coverage
- Badges and recipe counts update accurately
- No crashes in key workflows
- No silent failures
- UI remains predictable and consistent across devices
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.
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
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
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
Status:
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"
}
}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
- 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
- Complete OpenAPI 3.0 specification
- Add missing schemas, examples, and error formats
- Integrate automated documentation tests in CI
- 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
- Cross-browser and cross-device validation
- Semantic inspection using screen readers
- Manual translation corrections
- 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
- One-week buffer before final delivery
- Backup implementation plans for Activity Streams
- Dedicated compliance reviewers assigned per standard
- 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
| 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
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).
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.
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.
- Customer Milestone 1 Report of CMPE 451 Fall 2025
- Customer Milestone 2 Report of CMPE 451 Fall 2025
- Customer Milestone 3 Report of CMPE 451 Fall 2025
- Customer Milestone 2 Template Report of CMPE 451 Fall 2025
- Lab8: Requirements Review & Acceptance Planning
- Lab 9: Milestone 3 Demo Preparation
- Celil Özkan (Backend)
- Cem Sarpkaya (Backend)
- Özgür Savaşçıoğlu (Backend)
- Taha Ensar Kukul (Frontend)
- Ahmet Hacıoğlu (Frontend)
- Ahmet Selçuk Ersoy (Frontend)
- Bahadır Demirel (Frontend)
- Muhammed Ekinci (Mobile)
- Ali Gökçek (Mobile)
- Seyit Mustafa Demir (Mobile)
- Talha Özdoğan (Mobile)
- Requirements
- Milestones Roadmap
- Lab 5: MVP Implementation & Planning
- Unit Tests Coverage
- Selenium Quick Start Guide
- Selenium Testing Guide
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
- Lab1 Report
- Lab2 Report
- Lab3 Report
- Lab4 Report
- Lab5 Report
- Lab6 Report
- Lab7 Report
- Lab8 Report
- Lab9 Report
- Lab Report Template
- Lab 1 Meeting Notes (23.09.2025)
- Lab 2 Meeting Notes (30.09.2025)
- Lab 3 Meeting Notes (07.10.2025)
- Lab 4 Meeting Notes (14.10.2025)
- Lab 5 Meeting Notes (04.11.2025)
- Lab 6 Meeting Notes (11.11.2025)
- Lab 7 Meeting Notes (18.11.2025)
- Lab 8 Meeting Notes (02.12.2025)
- Lab 9 Meeting Notes (09.12.2025)
- Meeting Agenda 1
- Meeting Agenda 2
- Meeting Agenda 3
- Meeting Agenda 4
- Meeting Agenda 5
- Meeting Agenda 6
- Meeting Notes 1 (16.02.2025)
- Meeting Notes 2 (24.02.2025)
- Meeting Notes 3 (27.02.2025)
- Meeting Notes 4 (04.03.2025)
- Meeting Notes 5 (06.03.2025)
- Meeting Notes 6 (13.03.2025)
- Meeting Notes 7 (17.03.2025)
- Meeting Notes 8 (21.04.2025)
- Meeting Notes 9 (28.04.2025)
- Meeting Notes 10 (01.05.2025)
- Meeting Notes 11 (06.05.2025)
- Lecture Notes 1 (13.02.2025)
- Lecture Notes 2 (20.02.2025)
- Lecture Notes 3 (27.02.2025)
- Lecture Notes 4 (06.03.2025)
- Lecture Notes 5 (13.03.2025)
- Project Concept Design
- Elicitation Questions
- Elicitation Q&A
- Backend Endpoints (DRAFT)
- Unit Tests Coverage
Click to Expand ⬇️
- Scenario 1 - User Register
- Scenario 2 - Dietitian Register
- Scenario 3 - User Login
- Scenario 4 - User Deletion
- Scenario 5 - Upload & Edit Recipe
- Scenario 6 - Single Meal Planning
- Scenario 7 - Grocery Price Comparison
- Scenario 8 - Community Forum
- Scenario 9 - Recipe Discovery & Filter
- Scenario 10 - Local Food Discovery
- Scenario 11 - Nutritional Guidance Interaction
- Scenario 12 - Market Inventory Management
- Scenario 13 - Profile Management and Preference Settings
- Scenario 14 - Rate and Comment the Recipe by User
- Scenario 15 - Bookmark a Meal and Access it in Profile Page
- Scenario 16 - Adding Nutrition Tips to a Dietitian Profile
- Scenario 17 - User Forget Password
- Scenario 18 ‐ User Follows Unfollows Users
- Scenario 19 - Allergen Alert and Meal Plan Adjustment
- Scenario 20 - Dietitian Rating of a Recipe