abhinavsp0730 / khronos

8 stars 3 forks source link

Write Sanity Test. #8

Open abhinavsp0730 opened 1 year ago

abhinavsp0730 commented 1 year ago

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.

Tejoooo commented 1 year ago

@abhinavsp0730 can u assign me this issue

abhinavsp0730 commented 1 year ago

Assigned, feel free to ask your doubt here. All the best :)

Tejoooo commented 1 year ago

@abhinavsp0730 I have added the tests for the issue can u check and let me know if any more changes are required to be done

abhinavsp0730 commented 1 year ago

@Tejoooo
Hey sorry I didn't specify what I'm looking when I said write tests. Please see the updated issue. https://github.com/abhinavsp0730/khronos/issues/8#issue-1926653518

abhinavsp0730 commented 1 year ago

Hey, @Tejoooo are you interested in this issue?

Tejoooo commented 1 year ago

Yes I'm