FocusFlow α Sprint Blog Series - Test Essay

FOCUS_2025_SE 2025-12-21 17:06:54

目录

  • Overview
  • 1. Test schedule
  • 2. Login and Personal Center Module
  • 2.1 Functional Testing
  • 3. Tasks Creation, Deletion and Modification
  • 3.1 Functional Testing
  • 4. Focus Mode & Focus Time Count
  • 4.1 Functional Testing
  • 5. Homepage check-in & Overview
  • 5.1 Functional Testing
  • 6. Personal Center and Database
  • 6.1 Functional Testing
  • 6.2 Database Testing
  • 7. Comprehensive Testing and Test Experience
  • 7.1 Integration Testing
  • 7.2 Compatibility and Usability Testing
  • 7.3 Exception and Boundary Testing
  • 7.4 Performance and Stability Testing
  • 8. Testing Tools and Automation
  • 8.1 Testing Tools Selection
  • 8.2 Automated Testing Practice
  • 9. Test Case Documentation
  • 9. Test Case Documentation
  • 10. Testing Summary and Comments

Overview

Course for This Assignment2501_MU_SE_FZU
What are the requirements for this assignmentWeb Testing
Team IDFocusFlow
Objectives of This AssignmentEvaluation and evaluation of the website
Where are the requirements for this assignmentFifth Assignment——Alpha Sprint

1. Test schedule

NumberFUNCTIONTest Time
1Login and Personal Center Module12.13 (1 day)
2Tasks Creation, Deletion and Modification12.15 (1 day)
3Focus Mode & Focus Time Count12.16-12.17 (2 days)
4Homepage check-in & Overview12.18-12.19 (2 days)
5Personal Center and Database12.20-12.21(2 days)
6Final Test12.22 (1 day)

2. Login and Personal Center Module

Test whether the user login and personal center modules function properly. This module implements an identity verification process based on mobile phone number, password, and dynamic verification code. It employs the bcrypt algorithm for password encryption and storage, and manages user session states through a session mechanism.

2.1 Functional Testing

  • login interface: The login function realizes the authentication process based on cell phone number, password and dynamic authentication code. (Test Result: Normal)
  • Login success/failure prompt: Test to see if the user's login result can be displayed normally, such as: login successfully, wrong captcha, wrong password, etc. (Test Result: Normal)
  • Personal Center Homepage: The user page will be tested for its ability to clearly display the user's avatar (dynamically generated from initials), basic information, educational background, this month's check-in data, and the check-in calendar for the past 30 days. (Test Result: Normal)
  • Modify personal information: Will test whether clicking on the “Edit” button opens a modal box that allows the user to change information such as name, phone number, e-mail, gender, birthday, school, education level and grade level. (Test Result: Normal)
  • Password modification function: To test the password change function, click the “Change Password” button to open the password change panel. For security purposes, the new password must be verified against the current password and the new password must be the same as the confirmation password. (Test Result: Normal)
    file in the future.

    3. Tasks Creation, Deletion and Modification

    The core objective is to establish clear team coding standards, test the foundational functionality of the task management module, implement full lifecycle management and structured categorization of tasks, while ensuring data security and consistency within the system. This lays a solid foundation for subsequent iterations. The code strictly adheres to relevant standards including IEEE Std 830-1998 and GB/T 8567-2006.

3.1 Functional Testing

  • Task Creation, Editing, and Deletion: Users can add new tasks via the “+ New Task” button, specifying a title, description, due date, and category. Tasks can be edited inline or permanently deleted after confirmation. (Test Result: Normal)
  • Task Completion and Categorization: Test whether tasks can be grouped according to user-defined themes to achieve structured planning. (Test Result: Normal)

4. Focus Mode & Focus Time Count

Testing features related to Focus Mode, countdown timers, and study duration statistics. This development strictly adheres to IEEE Std 830-1998 and GB/T 8567-2006 standards. This module aims to create an immersive learning environment for users while enabling precise tracking and visual presentation of learning data.

4.1 Functional Testing

  • Focus Mode: Offering a Focus Mode for users to choose from, suitable for times when concentration is needed. (Test Result: Normal)
  • Countdown: For different learning tasks or personal preferences, we provide various countdown durations to choose from. (Test Result: Normal)
  • Total Learning Time: In the personal feedback module, users can also view their total learning time. (Test Result: Normal)

5. Homepage check-in & Overview

This section describes the homepage check-in feature, the dashboard/overview elements presented after sign-in, and how they support user engagement and quick access to core functionality. Objectives include providing a clear daily check-in flow, immediate visibility of key metrics (streaks, today’s tasks, focus sessions), and secure, consistent synchronization with backend data stores. Development and testing were carried out in accordance with IEEE Std 830-1998 and GB/T 8567-2006.

5.1 Functional Testing

  • Homepage Display and Navigation: The homepage loads correctly and presents essential information clearly. Users can navigate to main functional modules without errors. (Test Result: Normal)

  • Daily Check-in: Users can complete daily check-ins, and the system records the status accurately. (Test Result: Normal)

  • Overview Statistics Panel: The dashboard correctly aggregates and displays key metrics such as consecutive check-in days, total focus sessions, completed tasks, and weekly summaries. Data refreshes accurately after user actions such as check-in or task completion. (Test Result: Normal)

  • Data Consistency and Refresh: After performing a check-in or completing a task, the homepage overview updates in real time without requiring a manual page refresh, ensuring consistency between frontend display and backend records. (Test Result: Normal)

6. Personal Center and Database

This section focuses on testing the interaction between the Personal Center module and the backend database, ensuring data persistence, integrity, and security. The goal is to verify that user-related data is correctly stored, retrieved, and updated across multiple sessions.

6.1 Functional Testing

  • User Data Persistence: User profile information remains consistent after logout and re-login, confirming correct database storage. (Test Result: Normal)
  • Check-in and Focus Data Storage: Daily check-in records and focus time statistics are accurately written to and retrieved from the database. (Test Result: Normal)
  • Session Management: User sessions are maintained securely, and unauthorized access to personal data is prevented after session expiration. (Test Result: Normal)

6.2 Database Testing

  • CRUD Operations: Create, Read, Update, and Delete operations on user-related tables (users, tasks, focus_records, check_in_records) function as expected. (Test Result: Normal)
  • Data Integrity Constraints: Primary keys, foreign keys, and non-null constraints effectively prevent invalid or inconsistent data from being stored. (Test Result: Normal)
  • Password Security: Passwords are stored using bcrypt hashing, and plaintext passwords are never persisted in the database. (Test Result: Normal)

7. Comprehensive Testing and Test Experience

This phase consolidates functional, integration, and basic non-functional testing to evaluate the overall stability and usability of the system before completion of the Alpha Sprint.

7.1 Integration Testing

  • Frontend–Backend Interaction: All core modules (login, tasks, focus mode, check-in, personal center) communicate correctly with backend APIs. Request and response formats are consistent, and error handling is unified. (Test Result: Normal)
  • Cross-Module Data Flow: Actions performed in one module (e.g., completing a task or focus session) are accurately reflected in related modules such as the homepage overview and personal center statistics. (Test Result: Normal)

7.2 Compatibility and Usability Testing

  • Browser Compatibility: The system was tested on mainstream browsers (Chrome and Edge). Page layout, styles, and interactions remain consistent across environments. (Test Result: Normal)
  • Usability Evaluation: Core user flows, including login, task creation, focus sessions, and daily check-in, are intuitive and require minimal learning cost. Navigation logic is clear and user-friendly. (Test Result: Good)

7.3 Exception and Boundary Testing

  • Invalid Input Handling: The system correctly handles invalid inputs such as empty fields, incorrect formats, and duplicate submissions, providing clear error messages to users. (Test Result: Normal)
  • Boundary Conditions: Tests were conducted on boundary values such as maximum task title length, long focus durations, and continuous check-ins over multiple days. The system remained stable without data loss. (Test Result: Normal)

7.4 Performance and Stability Testing

  • Response Time: Under normal usage conditions, page loading and API response times meet expected performance requirements. (Test Result: Normal)
  • Stability: Repeated operations such as frequent task updates and continuous focus sessions did not cause system crashes or abnormal behavior. (Test Result: Normal)

8. Testing Tools and Automation

8.1 Testing Tools Selection

  • Manual Testing: Used during early sprint stages to quickly validate core logic and user flows.
  • Browser Developer Tools: Applied to inspect network requests, debug frontend issues, and verify API responses.
  • Unit Testing (Planned): Basic unit test cases for backend APIs are designed to be gradually introduced using frameworks such as unittest or pytest.

8.2 Automated Testing Practice

Automated testing was introduced incrementally. Simple API-level test scripts were written to verify critical endpoints such as login, task creation, and check-in. This approach reduces regression risks in later iterations and improves development efficiency.

9. Test Case Documentation

Test cases were designed based on functional requirements and typical user scenarios. Each test case includes test objectives, input conditions, execution steps, expected results, and actual results. This structured documentation helps ensure test coverage and facilitates future maintenance.

9. Test Case Documentation

Test IDModuleTest Case DescriptionTest TypeExpected ResultActual Result
1Login ModuleLogin with correct phone number, password, and verification codeFunctional TestUser logs in successfully and enters homepagePass
2Personal CenterModify personal information and save changesFunctional TestUpdated information is stored and displayed correctlyPass
3Task ManagementCreate a new task with title, category, and due dateFunctional TestTask is created and shown in task listPass
4Focus ModeStart a focus session with selected countdown durationFunctional TestCountdown runs normally and focus session is recordedPass
5Check-in ModuleComplete daily check-in from homepageFunctional TestCheck-in status is saved and reflected in overviewPass
6Homepage OverviewVerify overview data after task completion or check-inIntegration TestStatistics update correctly and remain consistentPass
6DatabaseVerify persistence of user, task, and focus data after re-loginDatabase TestData remains intact and accuratePass

10. Testing Summary and Comments

Through systematic testing across multiple modules, the FocusFlow web project has demonstrated good functional completeness, data consistency, and overall stability during the Alpha Sprint. While most core features perform as expected, the testing process also revealed areas for improvement, particularly in performance optimization and automated test coverage.

Overall, the testing work provides strong support for subsequent development iterations. Future sprints will focus on expanding automated testing, improving performance under higher concurrency, and refining edge-case handling to further enhance system reliability and user experience.

...全文
130 回复 打赏 收藏 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文围绕“数据驱动下光伏建筑群源荷不确定性解析及其储能多目标低碳经济调度研究”展开,提出了一种融合数据驱动方法与多目标优化算法的综合调度框架。研究首先基于历史数据对光伏发电出力与建筑负荷的不确定性进行建模,采用概率预测与场景生成技术刻画源荷波动特性,并通过典型场景提取降低输入复杂性。在此基础上,构建了以最小化系统运行成本、降低碳排放强度、提升可再生能源消纳率为目标的多目标优化模型,引入NSGA-II等先进智能优化算法求解Pareto最优前沿,实现经济性与低碳性的协同优化。通过Python编程完成模型搭建与仿真验证,结果表明该方法能有效应对源荷双重不确定性,在保障供电可靠性的前提下,实现了储能系统的优化配置与多目标调度决策的均衡协调; 适合人群:具备一定电力系统基础知识和Python编程能力,从事能源系统优化、智能调度、低碳技术等相关领域的研究生、科研人员及工程技术人员; 使用场景及目标:①应用于光伏建筑群、工业园区微电网等分布式能源系统的运行调度;②支撑含储能系统的多目标低碳经济调度决策,兼顾能源成本节约与碳排放控制双重目标;③为相关课题的研究与工程实践提供完整的算法实现参考与可复现的仿真案例支持; 阅读建议:建议读者结合文中提供的Python代码深入理解模型构建与求解流程,重点关注不确定性建模与多目标优化的耦合机制,可在实际数据基础上复现并改进算法,进一步探索不同权重策略下的调度方案优选方法。
代码下载链接: https://pan.quark.cn/s/cd4149768c91 互联网灰度部署系统解决方案的核心内容深度阐释: 一、灰度发布概念 灰度发布(亦称金丝雀发布)是在云计算及互联网服务领域中常见的一种发布策略,其中心理念是在全面推广新版本前,先向部分用户群体开放试用,以此来降低更新过程中的潜在风险。这种发布模式能够有效地兼顾用户体验与系统稳定性,它允许企业逐步将新的代码或功能部署至生产环境,并且仅对部分用户群体可见。此种做法有助于提前识别潜在问题,对用户体验造成的影响较小,并且能够获取更为真实的用户反馈信息。 二、系统现状和建设背景 在传统的发布模式中,每次更新都需要暂停服务才能发布新版本,这在用户体验和服务连续性方面存在明显不足。伴随互联网经济的繁荣发展,移动终端与日常生活的融合日益紧密,对互联网系统的支撑需求持续增长。特别是在电信行业,系统需要实现7*24小时不间断服务,以适应快速变化的市场需求和频繁更新的技术。因此,迫切需要一种新的发布方式,即灰度发布,用以提升产品发布的效率并改善用户体验。 三、灰度发布的优势与挑战 灰度发布相较于传统全量发布的优势包括: 1. 提供了新功能的试错空间,支持边发布边进行优化。 2. 维持服务的连续性,实现无缝升级。 3. 针对不同用户群体实施功能区分,提升用户体验和满意度。 4. 收集用户反馈,为后续版本的功能迭代和优化提供指导。 然而,灰度发布同样面临挑战,例如技术实现的复杂性、增加的运维压力等。 四、灰度发布的具体实施策略 1. 建设目标:保证湖北联通对外服务的互联网程序能够实现7*24小时不中断的灰度发布,实现无缝升级,同时全面提升用户体验。 2. 总体说明:需要通过灰度发布实现迭代开发和版本快速更...

165

社区成员

发帖
与我相关
我的任务
社区描述
2501_MU_SE_FZU
软件工程 高校
社区管理员
  • FZU_SE_LQF
  • 助教_林日臻
  • 朱仕君
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧