Issue #2 new

project root detection flawed

Jason Pellerin
created an issue

Related to issue 1 -- project root detection depends on the test runner being 2 dirs deep (eco/bin/test or eggs/bin/test):

{{{ (where (expand-file-name "../.." (file-name-directory nose))) }}}

It might be better to do another backwards search from the target file, looking for any one of, setup.cfg, or .noseids. Then if none of those is found, either fall back on the dir containing the target file, or if target file is in a package, back up to the package root.

Comments (1)

  1. Augie Fackler repo owner

    Oh, good idea to look for, that hadn't occurred to me. +1 on that. Probably ought to make it configurable via a lambda like textmate.el.

  2. Log in to comment