Dec-24-2018, 11:22 AM
parent/ test1/ __init__.py sample1.py test2/ __init__.py sample.pyThis is a basic structure i am following in my project.Now to generate coverage report i am using the command
nosetests --with-coverage --cover-erase --cover-package=test1 --cover-html.I run above command from root/source directory like
<c:/users/parent> nosetests --with-coverage --cover-erase --cover-package=test1 --cover-html.This coverage command runs both the test folders test1,test2.What should i do to make only test1 run.I also want the coverage report to be inside test1 folder.but now it is getting generated under parent(by default)