abhinavsp0730 / abhinavsp0730/blip

Write Tests

Aberta
#1 3 comentários 0 reações 1 responsável Reivindicada por @VidyaYadavv1519 Ver no GitHub
good first issue hacktoberfest
Linguagem predominante
Python
Estrelas
2
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Write basic tests that blip works in Django 3 and 4. Also, write tests that will ensure it'll work with `--parallel` flag.

1) Basic Test:
a) Create two folder Django-3 and Django-4 .
b) create a `requirements.txt` and add django 3 and django 4 version and add latest django blip version(I'll add replace to github repo branch, if you can do it than it's good)
b) In those folders create a django project.
c) In `settings.py` add blip as a test runner.
d) create `tests` folder inside these two folder.
Now create two test files `compatibility_test_1.py` and `compatibility_test_2.py`. And add test
```
class CompatibilityTest(TestCase):
def compatibiality_test:
...
```
After this I'll setup the github action.
There will be two steps
Sanity Test Django 3 / 4 (Creates the venv install django 3/4 and blip).

The objective is that simply merging a PR will not break due to syntax error etc.

Feel free to ask if you need some more info.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Look at the existing test structure in the blip repository to understand how tests are organized. Create two folders Django-3 and Django-4, each with a requirements.txt specifying the Django version and the latest blip. Set up a Django project in each, configure blip as the test runner in settings.py, and write compatibility tests in tests/compatibility_test_1.py and compatibility_test_2.py. Verify the tests run with the --parallel flag. The goal is to ensure basic functionality and parallel testing compatibility across Django versions.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
django, python
Domínio
testing
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.