On Oct 13, 2010, at 4:20 PM, Tim Hatch wrote:
>> However, now I need to add another test file, but it is in a
>> different
>> directory than "where" above. I've tried several things to no avail,
>> and the problem always seems to stem from the need to have multiple
>> different working directories at various times during test execution.
> Is it possible to specify a parent of the two different wheres as the
> real where, then rely on the test-detection logic to only find the
> right
> files?
I need to be able to specify exactly the directories/files nose should
be looking in, and not use test detection.
Ideally, I would be able to pass nose a list of (working_dir,
testfile) pairs to be run.
Would that mean writing a new TestLoader? Or does the current
assumption of a single working directory pervade the entirety of nose?
> Is the second where relying on its files being in a certain
> package, or could you use a symlink to put it inside the first?
As it's currently written, the new test file would need to be altered
if it gets moved/symlinked.
It may be that I need to make it a bit more adaptable, however.
Thanks for the response!
Jay