I actually meant to message the list. Is that feature currently in 0.6.9?
- Jon
On Jan 7, 2010, at 12:31 PM, Mark Harrah wrote:
> Hey Jon,
>
> I don't know, you can ask on the list. In sbt 0.6.x though, reporting will be
> left up to the individual test frameworks. If the test framework you are
> using supports hudson output, you can tell it to do so.
>
> -Mark
>
> On Thursday 07 January 2010, jon wrote:
>> Has anyone created a reporter that creates hudson compatible output?
>>
>> On Sep 18 2009, 6:20 pm, Mark Harrah <dmhar...@gmail.com> wrote:
>>> Hi Alexandre,
>>>
>>> I don't know if anyone else has done this already, but you can
>>> implement your own TestsListener. There is some information on the
>>> wiki[1] and you can see TestReportListener.scala[2] for the source.
>>> There is a FileReportListener there that writes plain text that you
>>> can use as an example.
>>>
>>> Thanks,
>>> Mark
>>>
>>> [1]http://code.google.com/p/simple-build-tool/wiki/TestFrameworkExtension
>>> s
>>> [2]http://code.google.com/p/simple-build-tool/source/browse/trunk/src/ma.
>>> ..
No it isn't in 0.6.9. What I was saying is that in 0.6.x, sbt defers to the testing frameworks for how to log. So, if ScalaTest provides an option like -reporter=hudson, you'd pass
that option along to ScalaTest.
Trying to provide a common reporter interface was a bad idea since each framework has its own idea of how tests are structured.
-Mark
On Thursday 07 January 2010, Jonathan Hoffman wrote:
> Thanks Mark,
>
> I actually meant to message the list. Is that feature currently in 0.6.9?
>
> - Jon
>
> On Jan 7, 2010, at 12:31 PM, Mark Harrah wrote:
> > Hey Jon,
> >
> > I don't know, you can ask on the list. In sbt 0.6.x though, reporting
> > will be left up to the individual test frameworks. If the test framework
> > you are using supports hudson output, you can tell it to do so.
> >
> > -Mark
> >
> > On Thursday 07 January 2010, jon wrote:
> >> Has anyone created a reporter that creates hudson compatible output?
> >>
> >> On Sep 18 2009, 6:20 pm, Mark Harrah <dmhar...@gmail.com> wrote:
> >>> Hi Alexandre,
> >>>
> >>> I don't know if anyone else has done this already, but you can
> >>> implement your own TestsListener. There is some information on the
> >>> wiki[1] and you can see TestReportListener.scala[2] for the source.
> >>> There is a FileReportListener there that writes plain text that you
> >>> can use as an example.
> >>>
> >>> Thanks,
> >>> Mark
> >>>
> >>> [1]http://code.google.com/p/simple-build-tool/wiki/TestFrameworkExtensi
> >>>on s
> >>> [2]http://code.google.com/p/simple-build-tool/source/browse/trunk/src/m
> >>>a. ..
> >>>
> >>> On 9/18/09, Alexandre Bertails <berta...@gmail.com> wrote:
> >>>> Hi all,
> >>>>
> >>>> does anybody know if it's possible to generate test report XMLs, like
> >>>> maven:surefire does?
> >>>>
> >>>> Having that is especially interesting forHudson.
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Alexandre.
>
-------------------------------------------------------