aafre / aafre/resume-builder

Add tests for Flask App

未關閉
#21 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement good first issue Python
主要語言
TypeScript
星號
6
分支
15
平均合併
7 天 22 小時
30 天內合併 PR
2

描述

There are no tests for the Flask [app.py](https://github.com/aafre/resume-builder/blob/main/app.py) at the moment. We need to set up testing using `pytest` and cover the most critical scenarios.

We can start with simple tests and then extend them later.

The `docker.dev.api` file can be used to run the application locally using Docker. The app needs to run on Linux, hence, Docker is the preferred way to run the app locally. Look at the [local development steps](https://github.com/aafre/resume-builder?tab=readme-ov-file#local-development) to run via Docker.

It is also imperative that we add tests for the [resume_generator.py](https://github.com/aafre/resume-builder/blob/main/resume_generator.py) script, as that is where the core functionality lies and Flask is just an HTTP wrapper on top of it.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by reading the local development steps to run the app via Docker using the docker.dev.api file. The main files to test are app.py (Flask HTTP wrapper) and resume_generator.py (core functionality). Set up pytest, write initial tests for critical scenarios in these files, and ensure they pass in the Docker environment.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
docker, flask
領域
backend, testing
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。