Open fossum opened 8 years ago
This may be a case of poor documentation on my part on the current limitation of part of the plugin. I may also need to make a descision about how to handle that edge case. I believe what is going on here is that you probably had open a file that was not in a git repository at the time you executed "Run tests", would that be correct?
It was in a Git repo actually. Does that matter for Perl prove?
so the "prove" command doesn't care, however to work properly, the prove command needs to be run from the correct directory. Most common setup in a perl project is to use PROJECT/t as the directory that contains your tests. So if you are editing a file PROJECT/lib/MyMod.pm running "prove" in PROJECT/lib/ will not do any good. Therefore the plugin uses the root directory of the git repository the MyMod.pm is in as the directory from which to run "prove".
The fact that is says "Running tests in" without a path makes me think that the process of finding the root directory for your git repo is what failed.
Can you tell me what OS you are running, what git version, and the root path of your git repo (would like to try to set up a similar environment so I can simulate the problem).
Thanks, Dave
git version 2.6.2 Windows 7 x64
Then what's this for?
If the lib setting is for any needed libraries, you should have another setting for the root. The root setting could default to a Git root. Also, a hotkey to run just the cwd t/ folder would be nice.
What path can't it find? There is almost no info attached to this failure.
Plugin version: 0.5.0 Atom Version: 1.3.3
PS - It also says "Running tests in". In what?