abhinavsp0730 / abhinavsp0730/khronos

Write Sanity Test.

Abierto
#8 6 comentarios 0 reacciones 1 asignado Reclamado por @Tejoooo Ver en GitHub
hacktoberfest
Lenguaje dominante
Python
Estrellas
8
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 khronos 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 khronos.
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 khronos).

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.