Skip to content

kkivilahti/ohke-flask-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Ohjelmistokehityksen teknologioita -kurssin seminaarityö: Flask-backendin testausta

Python Flask pytest mongomock Allure Report

Seminaarityössä keskityin Reddit Analyzer -sovelluksen Flask-backendin testaukseen, erityisesti tietokantayhteyksiin ja REST API:in. Toteutin yhteensä 49 testiä 14 testitapauksen pohjalta käyttäen pytestiä ja Mongomockia. Testien ajo automatisoitiin GitHub Actionsilla ja tulokset visualisoitiin Allure Reportilla. Työ tarjosi arvokasta käytännön kokemusta testauksen suunnittelusta, toteutuksesta ja tulosten analysoinnista, ja vahvisti ymmärrystäni testauksen merkityksestä ohjelmistokehityksessä.

Raportti:
➡️ https://github.com/kkivilahti/ohke-flask-testing/blob/main/raportti.md

Testien lähdekoodit:
➡️ https://github.com/ohjelmistoprojekti-ii-reddit-app/reddit-app-backend/tree/testing/tests

Interaktiivinen testiraportti (Allure Report):
➡️ https://ohjelmistoprojekti-ii-reddit-app.github.io/reddit-app-backend

Videoesittely:
➡️ https://www.youtube.com/watch?v=0HHo7ugsh8E

English summary: seminar project on backend testing

This project focuses on testing the Flask backend of the Reddit Analyzer application, with emphasis on database interactions and REST API endpoints. A total of 49 tests were implemented across 14 test cases, using pytest and Mongomock. Test execution was automated with GitHub Actions, and the results were visualized using Allure Report. The project provided valuable hands-on experience in planning, implementing and analyzing tests, while enhancing my understanding of the importance of testing in software development.

About

Seminar project on backend testing (in Finnish)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors