aafre / aafre/resume-builder

Add tests for Flask App

Aperta
#21 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue Python
Lingua principale
TypeScript
Stelle
6
Fork
15
Merge medio
7g 22h
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.