Re: [jbehave-user] Pending steps

2012-08-10 Thread Brian Repko
Mary, I don't believe that that is doable - the status of the step is the same regardless of scenario/story. You might look into meta tags - perhaps you could tag the scenario in question and use that to either 1) not run the scenario 2) access the meta tag as a @Named parameter in the step meth

Re: [jbehave-user] Reporting in TestNG

2012-07-19 Thread Brian Repko
Yes - actually JBehave 4 is looking at parsing stories into a tree-like structure and then walking the tree. This core structure would work for JUnit/TestNG as well but their code base is tied to Class/Method specific tree-levels. The IDE integration is also hard-coded to that type of structure

Re: [jbehave-user] Asynchronous Calls handling _ flickering scenarios

2012-04-25 Thread Brian Repko
If you are using jbehave-web and its Selenium integration - please make sure you are using Selenium's Wait functionality. For other asynchronous processing, I prefer to have a polling step, much like Mauro described but I'd use it to refer to what results you are polling for. When the user makes

Re: [jbehave-user] Language support: Contribution and question

2012-04-17 Thread Brian Repko
Anders, Thank you for the contribution - just to make sure - is this Bokmal or Nynorsk? Assuming Bokmal. Brian - Original message - From: Mauro Talevi <[1]mauro.tal...@aquilonia.org> To: [2]user@jbehave.codehaus.org Subject: Re: [jbehave-user] Language support: Contribution and question

Re: [jbehave-user] Migration from JBehave 2.5 to JBehave 3.6.2

2012-04-16 Thread Brian Repko
Jitendra, I would look through the release notes. http://jbehave.org/reference/stable/release-notes.html Brian - Original message - From: Jitendra Singh Bhati <[1]jitendrasbh...@gmail.com> To: [2]user@jbehave.codehaus.org Subject: [jbehave-user] Migration from JBehave 2.5 to JBehave 3.6

Re: [jbehave-user] A few questions

2012-04-04 Thread Brian Repko
Rakesh, 1. Yes - Use JUnitStories as your "embedder" - or write your own. 2. That is more of a build question - in maven for example you might bind cargo:redeploy to pre-integration-test and then jbehave to integration-test. 3. Totally fine to do - that is what you will find in most of the exampl

Re: [jbehave-user] @AfterScenario should execute for parameterized scenarios

2012-03-16 Thread Brian Repko
Bill, Look at the javadoc for @Before/AfterScenario - there are attributes on the annotation for scenario type - EXAMPLE and NORMAL. The defaults are setup to be backward compatible. B - Original message - From: "Bill Ross" To: user@jbehave.codehaus.org Date: Fri, 16 Mar 2012 10:37:4

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

2012-03-08 Thread Brian Repko
The spring-security example uses the pseudo URL of "classpath:..." for the stories and then loads them using the spring classes. This is sort of dumb at this point of JBehave but hopefully that shows the difference between its name/URL and how its loaded. I think the google docs example as well s

Re: [jbehave-user] Re: Nest Tables?

2012-03-07 Thread Brian Repko
Posting to both...I can use the StackOverflow points ;-) There isn't support for that directly as I understand it - though getting ExampleTable values as Parameters will kick in the ParameterConverters - of which an ExampleTable ParameterConverter is setup by default. I'm sure that there is a

[jbehave-user] JBehave video (for links / references on website)

2012-03-07 Thread Brian Repko
http://www.java-tv.com/2012/03/05/java-behavior-driven-developmen t-with-jbehave/

Re: [jbehave-user] Using SeleniumScreenshotOnFailure with Spring

2012-02-28 Thread Brian Repko
Bhuvnesh, I've not done this but need to...I would extend the WebDriverScreenshotOnFailure class and make that a @Component so that it gets picked up by Spring. This is similar to extending the PerStoryWebDriverSteps class. You can @Autowire the WebDriverProvider but using the other constructor

Re: [jbehave-user] managing stories

2012-02-23 Thread Brian Repko
eally I'm trying to sound you out on your experience of BA involvement and acceptance of using SCM etc. I think they're pretty wedded to their tools [word et al] and it will be hard to move them away from them. On 23 February 2012 18:00, Brian Repko <[3]brian.re...@learnthinkcode.com> wr

Re: [jbehave-user] managing stories

2012-02-23 Thread Brian Repko
I would add that for format - TXT and ODF are supported out of the box (as well as Google Docs). What I've found is that I want to tag the stories along with the code so that I know these are the tests for this code. That has lead me away from wikis and task tools and to use SCM for stories. But

Re: [jbehave-user] Re: run code before and after each step

2012-02-22 Thread Brian Repko
is approach work for you? Cheers On 22/02/2012 13:20, Graham Abell wrote: Hi Brian, I've raised an improvement request at [5]http://jira.codehaus.org/browse/JBEHAVE-721 I'll have a look at the StepMonitor and see if I have any joy there, thanks! On 22 February 2012 13:05, Brian

Re: [jbehave-user] Re: run code before and after each step

2012-02-22 Thread Brian Repko
Graham/Marcin, Typically clearing out steps data is done per scenario. If not, then its part of the test and I would clear it out as part of a when or a given so that its known that something was "cleared". You could look at the StepMonitor but that is really part of step processing - not lif

Re: [jbehave-user] run code before and after each step

2012-02-17 Thread Brian Repko
Graham, Not sure that anyone answered this - there is no @BeforeStep / @AfterStep as you've obviously looked for. There is the monitoring interfaces - you may be able to do what you want to do via a StepMonitor. The other option is to use AOP on your steps classes - however this will potentially

Re: [jbehave-user] Change '<' and '>' for parameter replacement?

2012-02-15 Thread Brian Repko
er, these symbols have > special meaning for parsing. In jbehave they are apparently just > part of the string to match, so if you have to be > matched in your scenario, the title row of the Examples must be > also be in order to match it. > > Bill > > Brian Repko w

[jbehave-user] Best practices on running JBehave web tests in multiple browsers?

2012-02-10 Thread Brian Repko
Folks: Any best practices for running stories in multiple browsers? - say Firefox / IE / Chrome? I could invoke the maven plugin 3 times. I could setup a Runner with three @Test methods - one for each browser. But those are serially processed (which could be ok). If I can get the tests to run

[jbehave-user] Change '<' and '>' for parameter replacement?

2012-02-10 Thread Brian Repko
JBehave users: I can't seem to find how the '<' and '>' characters get used/configured for parameter replacement in parameterized scenarios / Composites. Is that just convention - whatever is in the story has to match what is in the annotation value? Or is that configurable somehow? Thanks! Bria

Re: [jbehave-user] Re: JBehave and Spring Transactions...

2012-02-07 Thread Brian Repko
- Original message - From: "Craig Tataryn" To: user@jbehave.codehaus.org Date: Tue, 7 Feb 2012 19:52:41 + (UTC) Subject: [jbehave-user] Re: JBehave and Spring Transactions... Brian Repko writes: > > > Craig, > > > Also when you mark the Steps class as @Tran

Re: [jbehave-user] Re: JBehave and Spring Transactions...

2012-02-06 Thread Brian Repko
a fresh database and examining the resource strategy as well. > > Thanks again... > > On Mon, Jan 3, 2011 at 3:30 PM, Brian Repko wrote: > > >   > Carlus, >   > Look at Spring's org.springframework.test.context.transaction.TransactionalTestExec

Re: [jbehave-user] Can I reuse stories with two different implementations?

2012-01-04 Thread Brian Repko
To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779 - To

Re: [jbehave-user] "Cleanup" steps at the end of scenario

2011-12-29 Thread Brian Repko
xt is found !-- cleanup, do always When user enters "" When user clicks save bye, Alexander - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnT

Re: [jbehave-user] Jbehave without using Maven or Ant

2011-12-19 Thread Brian Repko
f there are any sample projects done this way? thanks, Graham - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com

Re: [jbehave-user] getting started

2011-12-17 Thread Brian Repko
ow itself to run as a JUnit test?" It >>>>>>>>>>>> seems >>>>>>>>>>>> to be >>>>>>>>>>>> hiding from JUnit, in my limited experience. >>>>>>>>>>>> >>>>>>&g

Re: [jbehave-user] Newbie questions about organising

2011-12-17 Thread Brian Repko
y to the authoring of the scenarios here, and not the implementation. Thanks Christian - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc.

Re: [jbehave-user] getting started

2011-12-14 Thread Brian Repko
t;> wandering the website looking for tidbits of information that might >>>>>> prove helpful. >>>>>> >>>>>>> For the examples, they are mostly using Maven but there are also >>>>>>> Ant-based ones: >>>>>>> >>>>>>> http://jbehave.org/reference/s

Re: [jbehave-user] new article on jbehave

2011-12-11 Thread Brian Repko
.tal...@aquilonia.org 3. http://jira.codehaus.org/browse/JBEHAVE-647 4. http://deepintojee.wordpress.com/2011/11/24/testing-rest-content-negotiation-with-jersey-and-jbehave/ 5. https://github.com/jbehave/jbehave-core/tree/master/examples/trader-spring 6. http://xircles.codehaus.org/manage_email --- B

Re: [jbehave-user] Annotated methods and aspect orientation...

2011-11-21 Thread Brian Repko
.tal...@aquilonia.org 4. mailto:user@jbehave.codehaus.org 5. http://www.porscheinformatik.at/_ 6. http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] jbehave timed test?

2011-10-20 Thread Brian Repko
ne has fooled around with this? Also wondering if there is some performance module in jbehave that I have completely missed. Thanks, Seth --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] testing JMX

2011-09-22 Thread Brian Repko
nks Caoilte On Sat, Aug 20, 2011 at 7:39 PM, Mauro Talevi wrote: > Hi Brian, > > yes, there is: @BeforeStories / @AfterStories annotations. > > Controlling the server via the code is surely another viable option. > > Cheers > > On 20/08/2011 17:49, Brian Repko wrote: &

Re: [jbehave-user] Using story paths different from JUnitStory path

2011-09-19 Thread Brian Repko
haus.org/manage_email -- Robison W R Santos Bach. Ciências da Computação "NUNCA generalise. Generalisar é SEMPRE um erro." References 1. mailto:mauro.tal...@aquilonia.org 2. http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] testing JMX

2011-08-20 Thread Brian Repko
y with JMX > enabled for my tests? > > Thanks > > Caoilte > > - > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > - To unsubscribe f

RE: [jbehave-user] separate configuration per Story per Thread

2011-06-30 Thread Brian Repko
ge. References 1. http://jbehave.org/reference/web/stable/using-sauce-labs.html --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

RE: [jbehave-user] JBehave uses a single test case for the whole Story instead of one per Story/Scenario/Example

2011-06-29 Thread Brian Repko
able to use the org.springframework.test.context.TestExecutionListeners annotatio n in a similar way to org.springframework.test.context.junit4.SpringJUnit4ClassRunner. Cheers, Lance. ____ From: Brian Repko [mailto:brian.re...@learnthinkcode.com] Sent: 29 June 2011 17:17 To: user@jbeha

RE: [jbehave-user] JBehave uses a single test case for the whole Story instead of one per Story/Scenario/Example

2011-06-29 Thread Brian Repko
ce.semm...@ubs.com 5. mailto:p...@hammant.org 6. mailto:user@jbehave.codehaus.org 7. mailto:lance.semm...@ubs.com 8. http://www.ubs.com/ 9. http://xircles.codehaus.org/manage_email 10. http://www.ubs.com/ 11. http://xircles.codehaus.org/manage_email 12. http://www.ubs.com/ 13.

RE: [jbehave-user] JBehave uses a single test case for the whole Story instead of one per Story/Scenario/Example

2011-06-29 Thread Brian Repko
have.codehaus.org 4. mailto:lance.semm...@ubs.com 5. http://www.ubs.com/ 6. http://xircles.codehaus.org/manage_email 7. http://www.ubs.com/ 8. http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] Running InjectableEmbedder from mvn

2011-05-17 Thread Brian Repko
se visit: > > http://xircles.codehaus.org/manage_email > > - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. http://www.learnthin

Re: [jbehave-user] Query : Jbehave reporting with xml

2011-03-23 Thread Brian Repko
e sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. References 1. https://github.com/jbehave/jbehave-tutorial/blob/master/etsy-stories/pom.xml --- Brian Repko LearnThinkCode, Inc. http://www.learnthin

Re: [jbehave-user] Query - parameterized stories

2011-03-22 Thread Brian Repko
l or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. References 1. mailto:t...@32admin.com --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] passing parameters from one story to another

2011-03-18 Thread Brian Repko
pies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] Test data setup considerations

2011-02-27 Thread Brian Repko
tions not being committed. Do you have any suggestions on this? Thanks, Sathish --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] Spring support for JBehave JUnitStory

2011-02-27 Thread Brian Repko
setup. Since stories already extend JUnitStory, i can't extend AbstractTransactionalJUnit4SpringContextTests and i'm not able to get Autowiring working in Story tests. Is there a way to Autowire session factory or existing Spring beans when running stories individually? Thanks, Sathish --- B

Re: [jbehave-user] Running JBehave 3.2 stories with Maven

2011-02-25 Thread Brian Repko
h...@gmail.com 3. http://jbehave.org/reference/stable/running-stories.html --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] State, context, order

2011-02-17 Thread Brian Repko
ept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. - To unsubscribe from this list, please v

RE: [jbehave-user] regex examples, please

2011-01-28 Thread Brian Repko
/jbehave/core/steps/CandidateSteps.html 5. http://ViewSVN/ 6. http://ViewCVS/ --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] regex examples, please

2011-01-28 Thread Brian Repko
vadoc/core/org/jbehave/core/steps/CandidateSteps.html 5. http://ViewSVN/ 6. http://ViewCVS/ --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] JBehave and Spring Transactions...

2011-01-03 Thread Brian Repko
ol the transaction rollback in the Before and AfterScenario's would be greatly appreciated Brian, I would love it if I could adjust my resource setup strategy, but unfortunately I don't think that is going to be an option at the company I am working at. Thanks again for all of your help thus

Re: [jbehave-user] JBehave and Spring Transactions...

2011-01-03 Thread Brian Repko
ely helpful with this predicament. This is a batch application and not a web application. Any advice you can offer would be great. Thanks Carlus --- Brian Repko LearnThinkCode, Inc. http://www.learnthinkcode.com email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: RES: [jbehave-user] Can I get scenario's title before test start?

2010-09-15 Thread Brian Repko
ref = new ProvedorCaminhosManual(); func = new FuncionalidadeSynGui(selenium); } Regards, [1]William Breternitz | analista de teste de software | Tel: +55 19 3794 1681 cid:image001.png@01CB282D.14B9A060 Ramal: 1707 | [2]Synchro Solução Fiscal – 18 anos | SPED | NFe | CTe

Re: [jbehave-user] Can I get scenario's title before test start?

2010-09-15 Thread Brian Repko
- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email References 1. mailto:william.bretern...@synchro.com.br 2. http://www.synchro.com.br/ --- Brian Repko LearnThinkCode, Inc. email: brian.re...@learnthinkcode.com ph

Re: [jbehave-user] Parametrizing stories

2010-09-07 Thread Brian Repko
--- --- To unsubscribe from this list, please visit: [6]http://xircles.codehaus.org/manage_email - To unsubscribe from this list, please visit: [7]http://xircles.codehaus.org/manage_email References 1. mailto:cvga

Re: [jbehave-user] JBehave & JMock

2010-08-27 Thread Brian Repko
se - or I may have EasyMock and JMock > confused. > - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. email: brian.re...@learnthinkcode.com phone: +1 612 229 6779 --

Re: [jbehave-user] JBehave & JMock

2010-08-27 Thread Brian Repko
. Am I thinking in the wrong direction here? Is there a better way? Thanks Chris - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --- Brian Repko LearnThinkCode, Inc. email: brian.re...

[jbehave-user] Use of jbehave-maven-plugin - classpath issue and jbehave-spring

2010-08-04 Thread Brian Repko
n order for this tutorial to work. I only get target/test-classes, target/classes and the compile dependencies (and their dependencies). I can zip this up if anyone needs it - looking on this list to see if anyone knows off the top of their heads. Brian --- Brian Repko LearnThinkCode, Inc. email: bri

Re: [jbehave-user] Cannot access 2.5.9 binaries

2010-07-07 Thread Brian Repko
rror please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. References 1. http://jbehave

Re: [jbehave-user] Steps Auto-Complete

2010-06-01 Thread Brian Repko
to begin. What you said about stepdoc certainly looks like the place to start =) If we do write the plugin, I'll make the code available here in case anyone is interested. Thanks --- Brian Repko LearnThinkCode, Inc. email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] Steps Auto-Complete

2010-06-01 Thread Brian Repko
entially it's a tool to ensure that, when you're writing new scenarios, you are sure I was thinking of something like an Eclipse auto-complete plugin or something of the sort. Thanks. -- Victor Moura Cortez --- Brian Repko LearnThinkCode, Inc. email: brian.re...@learnthinkcode.com phone: +1 612 229 6779

Re: [jbehave-user] JBehave and JVM

2010-05-21 Thread Brian Repko
n do like running two separate JVMs or some mechanism that enables me to close my application and still keep JBehave running? Thanks -- Victor Moura Cortez References 1. http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html --- Brian Repko LearnThinkCode, Inc. email: brian.re...@learnthinkcode.com phone: +1 612 229 6779