Adam Murdoch <[email protected]> writes:

> On 22/03/2011, at 7:24 AM, Jeppe Nejsum Madsen wrote:
>
>> On Mon, Mar 21, 2011 at 6:39 PM, Peter Niederwieser
> <[email protected]> wrote:
>>> 
>>> Jeppe Nejsum Madsen wrote:
>>>> 
>>>> I just upgraded from 0.9.2 to 1.0-M1 and now the test results seem
> to get
>>>> the package name wrong.
>>>> 
>>> 
>>> Where do you see wrong package names? In the new HTML test report?
>> 
>> Yes. All tests seems to be placed in the "default-package" package.
>> Maybe it's related to the somewhat weird classnames on the testcase
>> (which I don't understand either, I don't have any classes with
> these
>> names)
>> 
>> It looked like 0.9.2 used  the name of the testsuite to group the
>> tests whereas 1.0-M1 uses the classname?
>
> 1.0-m1 uses the classname of the test, as reported by the test
> runner. This ends up in the 'classname' attribute. 0.9.2 uses the name
> of the class that was passed to junit to execute. This ends up in the
> testsuite' attribute. In theory, the 1.0-m1 behaviour is the more
> accurate one, though it does depend on the test runner reporting the
> correct class names, which seems not to be the case here.
>
> Which test framework are you using to run these tests?

I'm using the specs framework http://code.google.com/p/specs/ with the
JUnit support. I'm able to run the tests fine in IntelliJ using it's
JUnit support.

Anything I can do to further diagnose this?


/Jeppe

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to