Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Aumentar cobertura de testes do PyJobs #89

Closed
vmesel opened this issue Oct 23, 2018 · 1 comment
Closed

Aumentar cobertura de testes do PyJobs #89

vmesel opened this issue Oct 23, 2018 · 1 comment
Assignees

Comments

@vmesel
Copy link
Owner

vmesel commented Oct 23, 2018

Precisamos aumentar a cobertura de testes do PyJobs para podermos realizar as nossas migrações de versão e futuros desenvolvimentos de uma maneira melhor. Atualmente a cobertura de testes de nosso código é a seguinte:

pyjobs/__init__.py                                                                                                                             0      0   100%
pyjobs/api/resources.py                                                                                                                        6      0   100%
pyjobs/core/__init__.py                                                                                                                        0      0   100%
pyjobs/core/admin.py                                                                                                                          21      4    81%
pyjobs/core/email_utils.py                                                                                                                    10      2    80%
pyjobs/core/forms.py                                                                                                                          36      3    92%
pyjobs/core/management/__init__.py                                                                                                             0      0   100%
pyjobs/core/management/commands/__init__.py                                                                                                    0      0   100%
pyjobs/core/models.py                                                                                                                        131     21    84%
pyjobs/core/newsletter.py                                                                                                                     13      5    62%
pyjobs/core/tests/__init__.py                                                                                                                  0      0   100%
pyjobs/core/tests/test_forms.py                                                                                                                0      0   100%
pyjobs/core/tests/test_job_model.py                                                                                                           69      0   100%
pyjobs/core/tests/test_job_views.py                                                                                                           57      0   100%
pyjobs/core/tests/test_user_profile_model.py                                                                                                  16      0   100%
pyjobs/core/urls.py                                                                                                                           13      2    85%
pyjobs/core/utils.py                                                                                                                          29     17    41%
pyjobs/core/views.py                                                                                                                         139     91    35%
pyjobs/settings.py                                                                                                                            28      0   100%
pyjobs/urls.py                                                                                                                                 8      0   100%

Precisamos aumentar a cobertura para mais de 80% para todo o sistema, assim ficamos seguros para novas mudanças do Django.

@vmesel vmesel changed the title Adicionar testes Aumentar cobertura de testes do PyJobs Feb 4, 2019
Repository owner deleted a comment from Marlysson Feb 4, 2019
Repository owner deleted a comment from HigorMonteiro Feb 4, 2019
@vmesel vmesel self-assigned this Feb 4, 2019
@vmesel
Copy link
Owner Author

vmesel commented Feb 22, 2019

O @cuducos e diversos outros membros da comunidade andaram ajudando o projeto a andar muito com os testes, acredito que devamos fazer um mutirão para aumentar essa cobertura para 80% no mínimo, assim podemos ter segurança para podermos atualizar os sistemas.

@vmesel vmesel closed this as completed Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant