Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Errors FeatureSpec w/ actors in Maven ?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jan Goyvaerts  
View profile  
 More options Nov 1 2012, 4:36 pm
From: Jan Goyvaerts <java.arti...@gmail.com>
Date: Thu, 1 Nov 2012 13:36:26 -0700 (PDT)
Local: Thurs, Nov 1 2012 4:36 pm
Subject: Re: [scalatest-users] Errors FeatureSpec w/ actors in Maven ?

Hello Bill,

It seems the origin of this problem is the IDE - Intellij 12 + Scala
plugin. FSC does not kick in any more either. It is needed to do
clean+install to refresh the byte code. Setting a scenario to ignored
drives the thing crazy also. :-)

Anyway, when cleaning it all it works with SureFire. Using the plugin
allows the annotation to be removed. Thanks for that !

On the console output I'm getting pre- and postfixes that are probably not
intended. [32m [0m ...

* [36mRun starting. Expected test count is: 31 [0m*
* [32mDiscoverySuite: [0m*
* [32mUnregisterSpec: [0m*
* [32mA listener should not be notified any more after unregistration  [0m*

On the referenced page isn't there a typo in the plugin dependency ?

*<groupId>org.scalatest</groupId>*
*<artifactId>scalatest-maven-plugin</artifactId>*
*<version>1.0-M2</version>*

instead of

*<groupId>org.scalatest</groupId>*
*<artifactId>maven-scalatest-plugin</artifactId>*
*<version>1.0-SNAPSHOT</version>*

Regards,

Jan

On Tuesday, October 30, 2012 11:52:27 AM UTC+1, Bill Venners wrote:

> Hi Jan,

> Sorry I didn't mention this before. You may also want to try the
> ScalaTest Maven Plugin:

> http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin

> Bill

> On Tue, Oct 30, 2012 at 1:15 AM, Jan Goyvaerts <java.a...@gmail.com<javascript:>>
> wrote:
> > Hello Bill,

> > I've got no (visible ?) stack traces. I'll double check tonight.

> > I'll cook up an example. Out of which will appear it's probably me ...
> :-)

> > Btw, is there a Scala equivalent for SureFire ? Because the only reason
> for
> > @Runwith is to allow Surefire to pick it up.

> > Regards,

> > Jan

> > On Monday, October 29, 2012 10:24:25 PM UTC+1, Bill Venners wrote:

> >> Hi Jan,

> >> Not obvious to me what the problem is at first blush. Can you post
> >> more info about the failures you're getting? Perhaps some nice, tall
> >> stacktraces?

> >> Thanks.

> >> Bill

> >> On Mon, Oct 29, 2012 at 2:13 PM, Jan Goyvaerts <java.a...@gmail.com>
> >> wrote:
> >> > A number of FeatureSpec using actors systematically fail when running
> >> > with
> >> > Maven's Surefire plugin. For example:

> >> > @RunWith(classOf[JUnitRunner])
> >> > class MySpec extends FeatureSpec with GivenWhenThen with
> >> > BeforeAndAfterEach
> >> > {
> >> >   ...
> >> > }

> >> > However they all succeed when run in Intellij. When actors are not
> used
> >> > -
> >> > everything is synchronous - then both ways succeed.

> >> > Is there something to take into account for unit testing with actors
> ?

> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "scalatest-users" group.
> >> > To post to this group, send email to scalate...@googlegroups.com
> >> > To unsubscribe from this group, send email to
> >> > scalatest-use...@googlegroups.com
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/scalatest-users?hl=en
> >> > ScalaTest itself, and documentation, is available here:
> >> > http://www.artima.com/scalatest

> >> --
> >> Bill Venners
> >> Artima, Inc.
> >> http://www.artima.com

> > --
> > You received this message because you are subscribed to the Google
> > Groups "scalatest-users" group.
> > To post to this group, send email to scalate...@googlegroups.com<javascript:>
> > To unsubscribe from this group, send email to
> > scalatest-use...@googlegroups.com <javascript:>
> > For more options, visit this group at
> > http://groups.google.com/group/scalatest-users?hl=en
> > ScalaTest itself, and documentation, is available here:
> > http://www.artima.com/scalatest

> --
> Bill Venners
> Artima, Inc.
> http://www.artima.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.