> ---------- Forwarded message ----------
> From: Finn Neuik <fin
...@gmail.com>
> Date: 2010/9/23
> Subject: Re: Output message to console
> To: Pekka Klärck <p
...@iki.fi>
> Well I got it all working earlier this week - the problem seems to
> have been the "[exec]" text which NAnt prefixes console output with.
> As soon as I swapped to MsBuild everything worked first time. I'll try
> and get something written up soon and get it over to you.
> On 18 September 2010 12:46, Pekka Klärck <p...@iki.fi> wrote:
> > [Replying also to the list.]
> > 2010/9/17 Finn Neuik <fin...@gmail.com>:
> > > I think a listener would be pretty generic - currently we're using XSLT to
> > > transform the test output into the results whichTeamCityrequires but
> > > looking at the listeners we can do everything using those instead. This
> > > would also have the advantage that I can remove the pause I need before
> > > doing the transform whilst waiting for the report to finishing spooling.
> > Sounds good.
> > > I've come across a couple of issues - first of all the test results are only
> > > getting reported at the end of the test run rather than in realtime. I think
> > > is probably just something I'm missing in whatTeamCityrequires so should
> > > be easy enough to solve.
> > Listeners allow real time updates so this sounds like an issue with
> >TeamCityintegration. Hope you can resolve it.
> > > The other is that some of our test names have characters which cannot be
> > > output to the windows console using the straight print statement due to code
> > > page issues, so I'll need to transform the output I guess.
> > Do you necessarily need to go through the console? Could you use files
> > instead? Or doesTeamCityhave an API you could you directly from the
> > listener? That would probably be the best solution.
> Calling an API would be much better, but as far as I can tell to
> communicate withteamcityyou need to either write a custom runner
> (which would be great, but I don't have the time for that at the
> moment, especially as I now have the result I need), via an xml file
> (which is how we were integrating until this week, but this only gives
> results at the very end of the run) or via the console - which gives
> realtime details about what's happening as the tests are running.
> > > I'll try and solve these issues next week and share the results then.
> > Cool! If you come up with something generic, are you interested in
> > writing a wiki page aboutTeamCityintegration? If there's some
> > generic code, starting a separate project might be even better option.
> > > Cheers
> > > Finn - the world can't have enough Finns I think!
> > Must agree with that! =)
> > Cheers,
> > .peke
> > --
> > Agile Tester/Developer/Consultant ::http://eliga.fi
> > Lead Developer of Robot Framework ::http://robotframework.org