I am trying to write a task for Paverthat will run nosetestsin my files.
My directory structure looks like this:
project/
file1.py
file2.py
file3.py
build/
pavement.py
subproject/
file4.py
test/
file5.py
file6.py
Doctests (using the parameter --with_doctest) should be run on all * .py files, while only the files under project/test(in this example, file5.pyand file6.py) should be found for test procedures.
I can’t understand how to do this - I can write my own plugin for nose, which includes the correct files, but I can’t get Paverto build and install it before the task is called nosetests. I also can not find a way to get Paverto transfer the list of files to check on noseteststhe command line.
?