Skip to content

chickooooo/python_tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Test Driven Development


Pytest Report

======================================= test session starts =======================================
Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
plugins: cov-4.1.0
collected 97 items

core\services\sql_service\tests\test_mysql_service.py .........................              [ 25%]
core\services\sql_service\tests\test_sql_exception.py ..                                     [ 27%] 
core\services\sql_service\tests\test_sql_service.py ........                                 [ 36%]
core\tests\test_dependency_injection.py .                                                    [ 37%] 
features\product\tests\test_product_crud_usecase.py ...............................          [ 69%]
features\product\tests\test_product_model.py ..............                                  [ 83%]
features\product\tests\test_product_serialization.py ................                        [100%]

======================================= 97 passed in 0.65s ========================================

Test Coverage Report

Name                                                    Stmts   Miss  Cover
---------------------------------------------------------------------------
core\__init__.py                                            0      0   100%
core\dependency_injection.py                                6      0   100%
core\services\__init__.py                                   0      0   100%
core\services\sql_service\__init__.py                       0      0   100%
core\services\sql_service\mysql_service.py                 58      0   100%
core\services\sql_service\sql_exception.py                  2      0   100%
core\services\sql_service\sql_service.py                   12      0   100%
core\services\sql_service\tests\__init__.py                 0      0   100%
core\services\sql_service\tests\test_mysql_service.py     169      0   100%
core\services\sql_service\tests\test_sql_exception.py       9      0   100%
core\services\sql_service\tests\test_sql_service.py        51      0   100%
core\tests\__init__.py                                      0      0   100%
core\tests\test_dependency_injection.py                     8      0   100%
features\__init__.py                                        0      0   100%
features\product\__init__.py                                0      0   100%
features\product\models\__init__.py                         0      0   100%
features\product\models\product.py                         26      0   100%
features\product\tests\__init__.py                          0      0   100%
features\product\tests\test_product_crud_usecase.py       216      0   100%
features\product\tests\test_product_model.py               53      0   100%
features\product\tests\test_product_serialization.py       85      0   100%
features\product\usecases\product_crud_usecase.py          29      0   100%
---------------------------------------------------------------------------
TOTAL                                                     724      0   100%

Sonar Report

Sonar Report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages