On Nov 3, 10:14 am, Cédric Beust ♔ <
cbe...@google.com> wrote:
> Hi Fernando,
>
> You could ask TestNG to generate its output in a different directory every
> time (maybe one named after the current date and time?).
>
> --
> ***Cédric
> *
>
>
>
> On Tue, Nov 3, 2009 at 6:44 AM, fratus <
ffratace...@comcast.net> wrote:
>
> > I'm invoking testng through ant specifying a list of test.xml to
> > execute using xmlfileset. All tests are run from on single <testng>
> > call. I also save screen shots of errors in outputdir/images. The
> > problem I'm having is that the contents of outputdir/images are
> > deleted for every test defined in xmlfileset. Only the results of the
> > last test set executed are preserved.
>
> > Is there a flag to set in <testng> that will preserve the contents of
> > outputdir/images? Or, what do I have to do to run multiple tests in
> > one testng invocation and preserve the execution output from each
> > test.
>
> > Thanks,
>
> > Fernando- Hide quoted text -
>
> - Show quoted text -
How can I do that? I'm doing one invocation of testng via ant in where
I already specify outputdir. For example:
<testng outputdir="test-output">
<xmlfileset dir"." includes="${xmlFileSet}"/> where
xmlFileset="Test1.xml,Test2.xml"
</testng>
I'm thinking that in order to do what you are saying I would have to
make individual invocations of <testng> each with it's own value for
outputdir. That's fine, but the problem I think I will run into is
creating once consolidated report.
Fernando