I added the easb dir to the global libraries based upon the statement
"NOTE Also, with the current version of the plugin you will need to
make easyb available on the classpath of your project. The next
release of the plugin will make this unnecessary." on this page:
http://www.easyb.org/running.html#intellij. Being a noob to Intellij
as well, perhaps this was incorrect. So, I removed that. I also
renamed the story to Message.story and placed it in a directory called
story under the ./test dir. Now, when I start it, it appears to start
well, but then things fall apart. I have a window that appears to be
some sort of progress window that shows:
Story Message
+- Given given Message is initialized with blank detail
+- When validate is invoked on the message
And the console window shows a stack trace, java.net.SocketException:
Software caused connection abort: socket write error. Does this
indicate an error with my Then statement, then the validator instance
should return false? Am I missing something in my configuration? Or,
have I done something wrong syntactically? This seems like a very
simple test, one I wrote just to get started with easyb, so I am
inclined to believe it is not a syntax problem, yet experience tells
me that it is likely to be such. :-(
On Jul 5, 7:42 pm, Andrew Glover <
ajglo...@gmail.com> wrote:
> yeah, it appears your story is being run by Groovy instead of easyb -- the
> plug-in doesn't require you add easyb to any global libraries -- just right
> click on your story (it always helps to name it .story as that's an obvious
> hint to the plug-in) and you should have an option to run as easyb
> specification....
>
> On Sat, Jul 4, 2009 at 4:50 PM, Richard Vowles <
richard.vow...@gmail.com>wrote:
>
>
>
> > Hi Bill,
>
> > I'm sorry I don't use the IntelliJ plugin, but this is not using easyb to
> > run your test. It is treating it as a normal Groovy file and thus, missing
> > the given method :-( There must be some mechanism by which you can run your
> > MyStory.groovy file under easyb from the intellijj plugin?
>
> > Richard
>