Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
231 views
by Contributing Tester (26 points)
I am working on a python django project and using pytest for test runner and tool. when I run pytest command I don't se all the test are running

 pytest
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
Django settings: haprest.settings (from ini file)
rootdir: /home/asif/upwork/hap/haprest, inifile: pytest.ini
plugins: django-3.1.2
collected 0 items

========================= no tests ran in 0.01 seconds =========================

what am I missing?

my ini file

[pytest]
DJANGO_SETTINGS_MODULE=haprest.settings
by The go-to Tester (181 points)
can you post sample file containing tests?

Please log in or register to answer this question.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...