Open GoogleCodeExporter opened 9 years ago
I don't see this behaviour under 0.5.6, Idea 6.0.3, Windows XP - the newly
created
test has the output directory without quotes.
Original comment by tal...@gmail.com
on 19 Jan 2007 at 6:33
I also see a variation of this behavior. When I run tests from within Idea I
get a
directory " created, just a double quote.
Plugin 0.5.6, Idea 6.0.4, MacOS X 10.4.8
Perhaps this is just a Mac problem?
Original comment by bmb...@gmail.com
on 5 Feb 2007 at 2:00
The code adds '-d "output/testng-output" ' to the command line. I havn't tried
this
under linux yet but I guess its only affecting non-windows machines. I was
wrapping
in quotes to support directories with spaces. I'll pass this over to Cedric as
a
possibly a more TestNG problem itself.
Original comment by tal...@gmail.com
on 5 Feb 2007 at 2:38
Hmm, I'm not sure if it's a problem with the core of TestNG. When I invoke
TestNG
from within Ant I don't experience this problem at all. I only experience it
when I
use the Idea plugin.
If it helps at all I'm attaching a snippet of my test target in Ant. It's
really
straightforward. I'm also attaching a screen shot of my TestNG Run
configuration
from within Idea (code coverage is disabled and there are no configuration
parameters).
Hope this helps some more.
Original comment by bmb...@gmail.com
on 5 Feb 2007 at 4:36
Attachments:
One more piece of info I've discovered that may help to debug this. When I run
my
tests, I see this on standard output.
[org.testng.internal.annotations.JDK14AnnotationFinder] [WARNING] Invalid source
directory "/Users/bbeck/projects/myproject/src/java ignored
[org.testng.internal.annotations.JDK14AnnotationFinder] [WARNING] Invalid source
directory " ignored
Maybe this is a clue to the bug?
Original comment by bmb...@gmail.com
on 6 Feb 2007 at 4:38
I found this to be triggered by the trailing ; in the source path, TestNG is
picking
up this as an "" empty path and throwing the warning. This is separate to the
main
issue.
Original comment by tal...@gmail.com
on 6 Feb 2007 at 10:56
I got the source, took the double quotes out of TestNGRunnableState and tried an
output directory with spaces. It worked like you'd expect: with output
directory =
'out put/test output' (not including the single quotes), I get a directory
called
'out put' with a directory called 'test output' inside that with the results
inside
that. So are the double quotes actually needed on Windows?
Original comment by dschweis...@gmail.com
on 14 Feb 2007 at 12:52
Original issue reported on code.google.com by
dschweis...@gmail.com
on 18 Jan 2007 at 5:30