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

Unit Tests Coverage

e-taha edited this page Nov 11, 2025 · 7 revisions

BACKEND

Brief Introduction:

  • Although we were recently assigned the task of updating unit tests for all subgroups, during the first milestone the frontend and mobile teams had difficulty meeting their deadlines. To prevent the same issue from happening again, we decided to complete all backend tasks as early as possible this time.

  • As a result, most of the endpoints were developed and updated within the first week of the first milestone. Since then, we have completed the remaining endpoints and fixed several bugs reported by the mobile and frontend teams.

  • After finishing all backend tasks and being assigned the unit test updates last week, we created several backend unit test issues to ensure full coverage for the newly implemented endpoints, as well as for areas where entities and models had been updated but tests were lagging behind. Therefore, last week, Celil and Özgür completed the backend unit tests. Hence in this document we will briefly mention our backend unit test status and also link some of the PRs that contributed to unit tests.

  • We need to acknowledge the fact that although we had a strict policy that we write unit tests after updating any part of the code, we couldn’t follow this policy due to insufficient time. Hence we introduced some main PRs introducing main updates to unit tests, such as PR #519. Here you can find our PR template, including some boxes that the assignee also introduced unit tests regarding his updates:

451 Unit Test Related PRs

Celil (451)

  • PR 521: PR related to incorrect assignment of cost per serving field due to user preferred currency. Also included tests regarding ingredients model and serializers, also unit tests for recipes.
  • PR 519: One of the most focused and detailed PRs regarding unit tests updates with all changes that are introduced in 451 after.

Celil (352)

  • PR 221 Adding community forum page posts and comments features and also their unit tests

Özgür (451)

Özgür (352)


MOBILE

Our tests were already adequate and have high coverage (~90 percent). Therefore, in the lab, we focused on old, broken tests after changes were made in CMPE451. We fixed 8 test files, increased their coverage, and added 4 scenario-specific tests. Now, all of our tests are running successfully. Here are the related issues and PRs made during the lab session:

Ali:

Seyit:

Muhammed:

Talha:


FRONTEND

We implemented some unit tests for different pages and also added selenium end-to-end tests. Here are the related issues and PRs made during the lab session:

Ahmet Hacıoğlu:

Ahmet Selçuk Ersoy:

Bahadır:

Taha Ensar Kukul:

⚡ 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