kamilkijak / django-smoke-tests

Auto-generated smoke tests for a Django project :fire:
MIT License
18 stars 6 forks source link

Django 2.0 support #1

Closed zvolsky closed 6 years ago

zvolsky commented 6 years ago

Tox tests were successful. Please check following:

Best regards, Mirek

codecov-io commented 6 years ago

Codecov Report

Merging #1 into master will decrease coverage by 0.44%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   96.23%   95.79%   -0.45%     
==========================================
  Files           5        5              
  Lines         186      214      +28     
  Branches       24       30       +6     
==========================================
+ Hits          179      205      +26     
- Misses          6        7       +1     
- Partials        1        2       +1
Impacted Files Coverage Δ
django_smoke_tests/generator.py 96.21% <100%> (+0.21%) :arrow_up:
...ngo_smoke_tests/management/commands/smoke_tests.py 96.61% <0%> (-3.39%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3ceac3c...feee5b6. Read the comment docs.

kamilkijak commented 6 years ago

Mirek, you've done a great work. Thank you!

It took a little bit longer, because I wanted to test it against Django2 project and I didn't have any so far on my computer. I set up a simple project with few endpoints and it worked like a charm.

To make sure that everything is fine, I added two commits to this PR: 1) one that adds Django2 environment in Travis CI, 2) second one with a simple URL in Django2 style (path('articles/<int:year>/', views.year_archive)), which will be taken into account only for Django2 tests.