George,
JBehave supports Maven and Ant as command-line tools to run stories, via
custom goals and tasks.
In addition, provided you've configured your project correctly, you can
use JUnit within an IDE. You can also run via JUnit in command-line,
if you choose, but it's up to you to
Mauro,
I'm sorry that JBehave has become a walled garden where people cannot
get answers to simple questions.
I took care of the dependencies. Having programmed in Java for over a
decade, I quite understand classpaths.
The example does not run the stories via JUnit, and I can't find
Good luck with Cucumber.
On 17/12/2011 18:27, George Dinwiddie wrote:
Mauro,
I'm sorry that JBehave has become a walled garden where people cannot
get answers to simple questions.
I took care of the dependencies. Having programmed in Java for over a
decade, I quite understand classpaths.
Oh, Cucumber works great. I often use Ruby Cucumber running under JRuby
to develop java code. That does require knowing a little Ruby, though.
Cucumber-JVM isn't quite fully baked, but seems to be coming along nicely.
I guess I've just become too accustomed to fast cycle times to run my
Mauro,
On 12/15/11 3:49 AM, Mauro Talevi wrote:
George,
your Eclipse project must be misconfigured. We cannot support every
possible way of configuring IDEs. This is why we use Maven which all
IDEs now support to configure projects.
I'd be happy if you could tell me how to run the JBehave
George,
hummm, I could infer that you a java programmer, right ? Unless you are
not, you MUST know that JAVA programs run inside a JVM and it needs ALL
its dependencies inside its CLASSPATH ok with that ? If you are not,
so I should say that you are in trouble... :D
Jbehave has LOT of
George,
your Eclipse project must be misconfigured. We cannot support every possible
way of configuring IDEs. This is why we use Maven which all IDEs now support to
configure projects.
If you do not wish to use the m2e plugin, I'm afraid we can't help you.
On 15 Dec 2011, at 04:03, George
that will run the examples?
* the ant setup and command line that will run the examples?
* an example that runs via JUnit?
Brian
- Original message -
From: George Dinwiddie li...@idiacomputing.com
To: user@jbehave.codehaus.org
Date: Tue, 13 Dec 2011 22:15:09 -0500
Subject: Re: [jbehave-user
: [jbehave-user] getting started
Resending, as this message just bounced back from last Saturday.
Mauro,
On 12/10/11 11:54 AM, Mauro Talevi wrote:
Well, you gotta use some system to fetch the dependencies and set the
classpath.
Yes, I've done that. As I said, the junit tests in the gameoflife
example
Mauro,
On 12/14/11 3:52 AM, Mauro Talevi wrote:
Hi George,
I think I finally understand: you're running the unit tests - which are
in src/test/java - instead of the stories via JUnit - which are found in
src/main/java. Look for GridStory and its extensions, e.g.
ICanToggleACell. This you can
Resending, as this message just bounced back from last Saturday.
Mauro,
On 12/10/11 11:54 AM, Mauro Talevi wrote:
Well, you gotta use some system to fetch the dependencies and set the
classpath.
Yes, I've done that. As I said, the junit tests in the gameoflife
example runs. I cannot figure
George,
the example for Ant exists already. If you look at the list of
examples, you'll find the trader-ant example with a standalone build.xml
(and also referred to in
http://jbehave.org/reference/stable/running-examples.html)
I've added a README file with further instructions, but the
Mauro,
I'm trying to execute the stories via Eclipse. I'm not using Ant.
- George
On 12/10/11 9:24 AM, Mauro Talevi wrote:
George,
the example for Ant exists already. If you look at the list of examples,
you'll find the trader-ant example with a standalone build.xml (and also
referred to in
Well, you gotta use some system to fetch the dependencies and set the
classpath.
The recommendation is to use either the Maven or Ant support in Eclipse
to do that. Else, it's very hard for us to help you. For example,
the Maven integration in Eclipse works very well and you don't need to
Hi George,
have you look at http://jbehave.org/reference/stable/getting-started.html?
The http://jbehave.org is just a wordpress facade to multiple reference
guides, but it may be better to replace it with a static frontend to
that it'd be easier to navigate to docs and control the contents
George,
thanks for the feedback - always appreciated - but I'm rather puzzled as
to some of your example comments. E.g.
I would expect
http://jbehave.org/reference/stable/running-examples.html to tell me how
to execute the examples, preferably in different ways. To me that's
what the
Mauro,
On 12/9/11 12:47 PM, Mauro Talevi wrote:
George,
thanks for the feedback - always appreciated - but I'm rather puzzled as
to some of your example comments. E.g.
I would expect
http://jbehave.org/reference/stable/running-examples.html to tell me how
to execute the examples, preferably
Hi George :)
I don't know the gameoflife example, but this is how I've setup my devenv
(and also that for the professional scrum developer training).
from the command line you would use maven to run the stories. In order to
do that, This is how I have configured the plugin:
plugin
18 matches
Mail list logo