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
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
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
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
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
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
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
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
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
http://www.java-tv.com/2012/03/05/java-behavior-driven-developmen
t-with-jbehave/
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
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
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
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
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
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
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
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 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
- 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
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
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
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
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
ow itself to run as a JUnit test?" It
>>>>>>>>>>>> seems
>>>>>>>>>>>> to be
>>>>>>>>>>>> hiding from JUnit, in my limited experience.
>>>>>>>>>>>>
>>>>>>&g
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.
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
.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
.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
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
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:
&
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
-
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
---
---
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
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
--
.
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...
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
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
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
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
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
59 matches
Mail list logo