Re: [jbehave-user] jbehave-osgi p2 repository problem

2014-06-18 Thread Cristiano Gavião
Hello, I did change some pieces in maven but not the docs... just add -Dgenerate-p2 to your latest command... On 18-06-2014 09:03, Brenner, Richard wrote: Hello, I am trying to get jbehave osgi to run, ultimately to use swtbot tests within BDD tests. I did the following (Windows 7, maven

Re: [jbehave-user] How to get working JBehave sources in Eclipse?

2014-04-29 Thread Cristiano Gavião
would be willing to contribute if you provide some Wiki for JBehave (because I cannot commit anything in Github from the company and it is too much overhead to create HTML pages for me). On Fri, Apr 25, 2014 at 4:49 PM, Cristiano Gavião cvgav...@gmail.com

Re: [jbehave-user] can't get started with running-examples or jbehave-tutorial

2014-03-07 Thread Cristiano Gavião
another way to learn is to import the examples projects inside Eclipse( + m2e plugin) or another IDE with maven support. inside the IDE you can use the Junit or mvn launchers to start story executions. regards, Cristiano 2014-03-07 17:34 GMT-03:00 Craig Comstock craig_comst...@yahoo.com: I

Re: [jbehave-user] SeleniumStepMonitor could be more general

2013-12-04 Thread Cristiano Gavião
You already have this in core... check this example: https://github.com/jbehave/jbehave-core/tree/master/examples/gameoflife 2013/12/4 Hans Schwäbli bugs.need.love@gmail.com There is a nice SeleniumStepMonitor in jbehave-web which shows live the steps which are performed in a small

Re: [jbehave-user] SeleniumStepMonitor could be more general

2013-12-04 Thread Cristiano Gavião
, there is no StepMonitor configured: https://github.com/jbehave/jbehave-core/blob/master/examples/gameoflife/src/main/java/com/lunivore/gameoflife/GridStory.java 2013/12/4 Cristiano Gavião cvgav...@gmail.com You already have this in core... check this example: https://github.com/jbehave

Re: [jbehave-user] Story language settings improvement suggestion

2013-10-04 Thread Cristiano Gavião
good code contributions are always welcomed ! 2013/10/4 Hans Schwäbli bugs.need.love@gmail.com I tried to use JBehave with German language. Then I discovered that you have to configure a lot to achieve this. This is because you have to create a Keywords object and set it into many

Re: [jbehave-user] how to access AnnotatedPathRunner instance from steps class

2013-06-27 Thread Cristiano Gavião
between the runner and the steps classes. The steps classes are agnostic of the runner. ** ** Why do you feel the need to have them talk? On 27 Jun 2013, at 16:23, Cristiano Gavião cvgav...@gmail.com wrote: there is no preferred or correct way to do that... you can't

Re: [jbehave-user] Preselect testcases based on test plant capabilities

2013-05-10 Thread Cristiano Gavião
Hello Mikael, JBehave is a tool for handle the execution of BDD like textual stories where each step line should be mapped to step methods that is contained in any kind of java pojo class.[1] If your testcases are java classes and its methods could be annotated with JBehave annotations so

Re: [jbehave-user] Normal build problems with jbehave-core 3.8?

2013-04-24 Thread Cristiano Gavião
Hello, About the jenkins-ci:annotation-indexer:1.4. problem. it was because the duplication of idatlassian/id inside the settings.xml. It seems that maven ignores have ignored the second repository. I've changed it and send a pull request. 2013/4/24 Kendall Shaw ques...@sonic.net For reasons

Re: [jbehave-user] Loading Stories in OSGi Environment

2013-04-17 Thread Cristiano Gavião
Hello Andreas, I got curious. Could you explain me your use case? Are you trying to run just stories inside bundles? the system under test is OSGi based too? and the Step classes are inside bundles? regards, Cristiano On 15/04/13 09:44, Andreas Ebbert-Karroum wrote: Hi, I'd like to use

[jbehave-user] Re: Loading Stories in OSGi Environment

2013-04-17 Thread Cristiano Gavião
there. Kind Regards, Andreas Am Mittwoch, 17. April 2013 schrieb Cristiano Gavião : Hello Andreas, I got curious. Could you explain me your use case? Are you trying to run just stories inside bundles? the system under test is OSGi based too? and the Step classes are inside bundles

[jbehave-user] Re: Loading Stories in OSGi Environment

2013-04-17 Thread Cristiano Gavião
application. Hence RFT to interact with the UI. I cannot share details about he configuration, but it s absolutely standard. Nothing extraordinary. The most extraordinary item is the classloading line :) -- Andreas Ebbert-Karroum (mobil) Am 17.04.2013 17:10 schrieb Cristiano Gavião cvgav...@gmail.com

Re: [jbehave-user] Re: Loading Stories in OSGi Environment

2013-04-15 Thread Cristiano Gavião
Hi, The OSGi support is still experimental. I'm working on it to be able to release a 1.0 version soon. but it will work only from version 4.3 that is supported from eclipse 3.7 (indigo) regards, Cristiano On 15/04/13 10:11, Andreas Ebbert-Karroum wrote: Hi, minor correction. Rational

Re: [jbehave-user] No stories found

2013-04-15 Thread Cristiano Gavião
Have you tried to run the provided examples? that is a excellent way to figure out this kind of configuration problems. regards 2013/4/15 Kendall Shaw ques...@sonic.net How can I associate a steps class with a story? It would be great if I could somehow indicate: use this class with this

Re: [jbehave-user] Problem localizing into Swedish

2013-01-10 Thread Cristiano Gavião
this seems to be related to the encoding. are you using UTF-8 in your text file ? have you escaped to unicode the ä letter in the resource file ? regards, Cristiano On 10/01/13 10:05, Karlsson Christian wrote: Hi all I’m in progress of localizing our JBehave setup into Swedish. I follow

Re: [jbehave-user] General question about JBehave, BDD and JUnit's assertXX methods

2012-10-02 Thread Cristiano Gavião
Btw, You can use any other asserting library, as the one provided by the Hamcrest project. Every time an assert fails, jbehave will catch and properly report it... regards, Cristiano On 02/10/12 07:51, Julien Martin wrote: Thank you Louis, :-) I rather meant is there a jbehave-specific way

Re: [jbehave-user] Finding stories with absolute paths

2012-03-08 Thread Cristiano Gavião
Graham, for me, using Embedder is the best for such needs... the example that was given for Zoltan is a little bit confuse, actually... Look at the example below. I'm specifying the Step classes that I want and the local where the stories should be searched (in my case its using the

Re: [jbehave-user] Finding stories with absolute paths

2012-03-08 Thread Cristiano Gavião
for the input. Can I ask what's in your MyStoryLoader class? This is the part that I don't understand. Why do we need to specify a storyLoader when we're providing the stories explicitly? thanks! graham On 8 March 2012 18:19, Cristiano Gavião cvgav...@gmail.com mailto:cvgav...@gmail.com wrote

Re: [jbehave-user] Finding stories with absolute paths

2012-03-08 Thread Cristiano Gavião
the stories explicitly? thanks! graham On 8 March 2012 18:19, Cristiano Gavião cvgav...@gmail.com mailto:cvgav...@gmail.com wrote: Graham, for me, using Embedder is the best for such needs... the example that was given for Zoltan is a little bit confuse, actually... Look at the example

Re: [jbehave-user] managing stories

2012-02-23 Thread Cristiano Gavião
Graham, you can use any approach that fits your company... I knew about people that are using just txt files saved in SCM repositories, or using wiki (as confluence, alfresco) or some task management tool (as jira, trac) that can be reached by REST http services, or you own document

Re: [jbehave-user] Using @UsingSteps for step classes with parameter constructor

2011-12-22 Thread Cristiano Gavião
Hi, Don't know if using a Step class constructor with parameter would be a good practice... If you have the need to access objects inside you Step class try to improve your tests with the power of some DI to inject all desired object (including you page objects). Jbehave let you work with

Re: [jbehave-user] getting started

2011-12-16 Thread Cristiano Gavião
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

Re: [jbehave-user] Test data setup considerations

2011-02-28 Thread Cristiano Gavião
Hi Sathish, It's completely plausible to use @Given to *setup initial data* for scenarios (just for that). And I'm using this approach since JB 2.0 with annotations and Guice. My first approach was to use DBunit, but I give it up because I couldn't do all things that was needed ( to use

Re: [jbehave-user] Localization and Spring

2010-12-03 Thread Cristiano Gavião
Hi, Should not be difference from using Localization with Spring or Guice or without DI. Basically we need to fullfill some Configuration needs, Locale and Keywords: Keywords keywords = new LocalizedKeywords(locale()); Configuration configuration = new MostUsefulConfiguration()

Re: [jbehave-user] Localization and Spring

2010-12-03 Thread Cristiano Gavião
Hi, Well, I don't know spring, but would be a good exercise to you to take the spring example, run it without localization and later try to user your (or traders) localization configuration on that example.. If you couldn't make it run, at least you will have an concrete example that you

Re: [jbehave-user] Localization and Spring

2010-12-03 Thread Cristiano Gavião
Ok. Glad you could figure out... cheers Cristiano On 03/12/10 12:22, Fernando Mato Mira wrote: It would execute with English keywords without step bean declarations, but to run with localized keywords it needs those beans. On Fri, Dec 3, 2010 at 3:56 PM, Cristiano Gaviãocvgav...@gmail.com

Re: [jbehave-user] JBehave JMock

2010-08-27 Thread Cristiano Gavião
Brian / Chris, I think there is no problem in use BDD's ways of thinking and strutucture the ideas for any kind of test... For instance, I am using Bdd sentences to write business rules, that will be implemented by Drools or some Manager class later... I wont automate it for now, but just

Re: [jbehave-user] Re: InvalidScenarioClassPathException when running scenarios in maven

2009-11-28 Thread Cristiano Gavião
Hi Joris, I got this error too in my project. I was trying to figure out what could be the reason of that. Strange is the fact that I can run jbehave examples without get this error. Did you try to run them on your machine? What is your OS? Are you using eclipse? if yes, what svn plugin?