switching tests to specs

View: New views
5 Messages — Rating Filter:   Alert me  

switching tests to specs

by Stepan Koltsov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could some please switch scalax tests to specs?

I failed to. I've just added specs to dependencies and mvn test started to fail.

S.


Re: switching tests to specs

by Eric Torreborre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stepan,

I don't know what the exact issue but it looks like scalax is still using scala-2.7.2. You need to use scala-2.7.3 if you're using specs 1.4.2 or more recent.

Cheers,

Eric.

Stepan Koltsov wrote:
Could some please switch scalax tests to specs?

I failed to. I've just added specs to dependencies and mvn test started to fail.

S.

Re: switching tests to specs

by Jorge Ortiz-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think we should tag a 0.2 release (that compiles against 2.7.2) and move to 0.3-SNAPSHOT (that compiles against 2.7.3).

--j

On Sun, Feb 8, 2009 at 5:34 AM, Eric Torreborre <etorreborre@...> wrote:

Hi Stepan,

I don't know what the exact issue but it looks like scalax is still using
scala-2.7.2. You need to use scala-2.7.3 if you're using specs 1.4.2 or more
recent.

Cheers,

Eric.


Stepan Koltsov wrote:
>
> Could some please switch scalax tests to specs?
>
> I failed to. I've just added specs to dependencies and mvn test started to
> fail.
>
> S.
>
>
>

--
View this message in context: http://www.nabble.com/switching-tests-to-specs-tp21892800p21898925.html
Sent from the Scalax - The Scala Community Library mailing list archive at Nabble.com.




Re: switching tests to specs

by Stepan Koltsov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Switching to 2.7.3 does not help, unfortunately.

There is too many magic inside Maven. After adding specs to
dependency, surefire executes tests differently (probably, because it
finds junit in the classpath).

Personally, I prefer ant for building with ivy for dependency management.

S.

On Sun, Feb 8, 2009 at 16:34, Eric Torreborre <etorreborre@...> wrote:

>
> I don't know what the exact issue but it looks like scalax is still using
> scala-2.7.2. You need to use scala-2.7.3 if you're using specs 1.4.2 or more
> recent.
>
> Stepan Koltsov wrote:
>>
>> Could some please switch scalax tests to specs?
>>
>> I failed to. I've just added specs to dependencies and mvn test started to
>> fail.
>>
>> S.
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/switching-tests-to-specs-tp21892800p21898925.html
> Sent from the Scalax - The Scala Community Library mailing list archive at Nabble.com.
>
>
>


Re: switching tests to specs

by Josh Suereth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you want, I'll try to take a look and see how I can help.  Usually running mvn dependency:analyze helps solve the problem (I may have misspelled the command).

-Josh

On Sun, Feb 8, 2009 at 2:38 PM, Stepan Koltsov <yozh@...> wrote:
Switching to 2.7.3 does not help, unfortunately.

There is too many magic inside Maven. After adding specs to
dependency, surefire executes tests differently (probably, because it
finds junit in the classpath).

Personally, I prefer ant for building with ivy for dependency management.

S.

On Sun, Feb 8, 2009 at 16:34, Eric Torreborre <etorreborre@...> wrote:
>
> I don't know what the exact issue but it looks like scalax is still using
> scala-2.7.2. You need to use scala-2.7.3 if you're using specs 1.4.2 or more
> recent.
>
> Stepan Koltsov wrote:
>>
>> Could some please switch scalax tests to specs?
>>
>> I failed to. I've just added specs to dependencies and mvn test started to
>> fail.
>>
>> S.
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/switching-tests-to-specs-tp21892800p21898925.html
> Sent from the Scalax - The Scala Community Library mailing list archive at Nabble.com.
>
>
>