[jbehave-dev] How to ignore or skip tests

2011-12-14 Thread Olmo Rigolo
Hi all, I read about the possibility to skip and ignore scenarios in stories. But it seems not to work out of the box. Is this something I have to configure? Where? In the pom for maven or in the JUnitStory/Stories ? Thanks! Olmo

Re: [jbehave-dev] How to ignore or skip tests

2011-12-15 Thread Olmo Rigolo
" >> will only run scenarios tagged by meta @outcome failed. >> >> >> On Wed Dec 14 16:48:21 2011, Olmo Rigolo wrote: >> >>> Hi all, >>> >>> I read about the possibility to skip and ignore scenarios in stories. >>> But it seems n

[jbehave-dev] jbehave 3.5.4 core API missing methods?

2011-12-15 Thread Olmo Rigolo
Hi all, I am wondering where to find the method *StoryLocation.codeLocationFromFile* mentioned here : new StoryReporterBuilder().withCodeLocation(StoryLocation.codeLocationFromFile(new File("target/classes"))) .withDefaultFormats().withFormats(TXT, HTML, XML).build(storyPath); http://jbehave

Re: [jbehave-dev] jbehave 3.5.4 core API missing methods?

2011-12-16 Thread Olmo Rigolo
: > Should be CodeLocations. > > Where did you see StoryLocation? > > On 15/12/2011 14:18, Olmo Rigolo wrote: > > Hi all, > > > I am wondering where to find the method > > *StoryLocation.codeLocationFromFile* > > mentioned here : > &g

[jbehave-dev] How to configure maven build failures if tests fail

2011-12-19 Thread Olmo Rigolo
Hi all, I didn't find it in the documentation, but how do I configure maven so tahht the build fails if my tests fail. This does not work: false This is also the case for JUnit test runs in eclipse. I like them to fail, how do I configure this behaviour and where? Thanks a lot, Olmo

[jbehave-dev] How do I add a description to my story report?

2011-12-19 Thread Olmo Rigolo
Hi all, I want to write out to the report a brief description of the story that summarizes the link in JIRA etc. In RegExStoryParser.java on line 70, the description found, but the group is empty. The description string is empty and nothing appears on the report. This is my story data: *Narrativ

[jbehave-dev] What is the difference between RessourceLoader and StoryLoader

2011-12-19 Thread Olmo Rigolo
Hi, I am wondering what's the difference between the classes RessourceLoader and StoryLoader? I read in the documentation that StoryLoader is the default class to get the stories. So why shuld I use the RessourceLoader ? Thanks! Olmo

[jbehave-dev] Can we configure the runner output?

2011-12-19 Thread Olmo Rigolo
Hi, Every time I run a story, within the process of the storyrunner , somewhere in ThreadPoolExecutor the path of the story (storyPath) is written out to the console Something like: Running story com/xx/prm/marketplace/mediaslot/dashboard/ms_scenarios.story How can I configure that? Thanks, O

Re: [jbehave-dev] How do I add a description to my story report?

2011-12-19 Thread Olmo Rigolo
Narrative is absent) is > interpreted as Story description. > > On 19/12/2011 15:28, Olmo Rigolo wrote: > > Hi all, > > I want to write out to the report a brief description of the story that > summarizes the link in JIRA etc. > In RegExStoryParser.java on line 70, the des

Re: [jbehave-dev] How to configure maven build failures if tests fail

2011-12-19 Thread Olmo Rigolo
uld send us a sample project to reproduce > your behaviour. > > > On Mon Dec 19 15:18:08 2011, Olmo Rigolo wrote: > >> Hi all, >> >> >> I didn't find it in the documentation, but how do I configure maven so >> tahht the build fails if my tests fail. >

Re: [jbehave-dev] Can we configure the runner output?

2011-12-20 Thread Olmo Rigolo
Hi Mauro, thanks for your reply. Could you provide an example? Thanks, Olmo On 19 December 2011 15:47, Mauro Talevi wrote: > Providing your own impl of EmbedderMonitor. > On Mon Dec 19 15:46:48 2011, Olmo Rigolo wrote: > >> Hi, >> >> Every time I run a story

Re: [jbehave-dev] Can we configure the runner output?

2011-12-20 Thread Olmo Rigolo
bedderMonitor(**new PrintStreamEmbedderMonitor(){ > > @Override > public void runningStory(String path) { > print("Your message"); > } > }); > / // other configuration > > > > > On Tue Dec 20 15:04:05 20

Re: [jbehave-dev] How to configure maven build failures if tests fail

2011-12-21 Thread Olmo Rigolo
n't help you > otherwise. > > On 19 Dec 2011, at 16:26, Olmo Rigolo wrote: > > Hi Mauro, > > these options don't have any effect on the execution and the state of > Junit tests in eclipse, nor the build failure state in maven. > During my maven project build I

[jbehave-dev] How to implement a new annotation for the AnnotatedPathRunner

2011-12-21 Thread Olmo Rigolo
Hi! I already use a my own LoadFromJIRA story loader that takes jira story ids instead of paths as input to search for stories. I also use the AnnotatedPathRunner to run my tests. There is a @UsingPaths annotation which is read by the findPaths() method from the AnnotationBuilder. Since I dont nee

Re: [jbehave-dev] How to implement a new annotation for the AnnotatedPathRunner

2011-12-21 Thread Olmo Rigolo
eric > story ids (a "path" to a story). > > > On Wed Dec 21 19:05:57 2011, Olmo Rigolo wrote: > >> Hi! >> >> I already use a my own LoadFromJIRA story loader that takes jira story >> ids instead of paths as input to search for stories. >

Re: [jbehave-dev] How to implement a new annotation for the AnnotatedPathRunner

2011-12-22 Thread Olmo Rigolo
gt; } > }; > } > } > > I would make sense to have this impl added to the jira module. > > On 21/12/2011 19:21, Olmo Rigolo wrote: > > Mauro, > > I do so. But since I tried to use the AnnotatedPathRunner, the storyPaths > are always null.

Re: [jbehave-dev] How to implement a new annotation for the AnnotatedPathRunner

2011-12-22 Thread Olmo Rigolo
ce.mediaslot.dashboard.Sprint12Scenarios@49b9a538not of type interface org.jbehave.core.Embeddable *" Thank you very much, Olmo On 22 December 2011 09:58, Olmo Rigolo wrote: > Hi Mauro, hi Christiano, > > so I did the right thing by extending the AnnotatedPathRunner. I took your >

[jbehave-dev] How to skip tests?

2011-12-23 Thread Olmo Rigolo
Hi, I think I already ask it, but how do I skip tests? There is this Meta: @skip true or Meta: @ignore tag, but I think maybe I have to configure this? It doesn't seam to have an effect on my tests... Thanks, Olmo

[jbehave-dev] Re: How to skip tests?

2011-12-23 Thread Olmo Rigolo
Sorry, found it. Configured it easily with embedder.configuredEmbedder().useMetaFilters(Arrays.asList("-skip true")); Olmo On 23 December 2011 15:39, Olmo Rigolo wrote: > Hi, > > I think I already ask it, but how do I skip tests? > There is this > Meta: >

[jbehave-dev] How to override the report template

2012-01-03 Thread Olmo Rigolo
Hi all, hope you had a good time at Christmas. I am wondering where to put the report resource files, so that they can automatically be loaded by the reporter. If I am right, they load them by default from the jbehave-core.jar file. Thanks! Olmo

Re: [jbehave-dev] How to override the report template

2012-01-03 Thread Olmo Rigolo
/goal? Anyone there who could help? Cheers, Olmo On 3 January 2012 15:35, Brian Repko wrote: > > Check out the Spring-Security example - I know that this does this > (override ResourceLoader?) but I'm not sure if its the "best" way to do > this. > > - Origin

Re: [jbehave-dev] How to override the report template

2012-01-04 Thread Olmo Rigolo
e picked up from > the classpath, so if you use the same name as the ones in the jar they make > not be picked up. > > What resources are we talking about? Please send us an example of what > you're trying to do. > > > > On Tue Jan 3 17:32:22 2012, Olmo Rigolo wrote: >

[jbehave-dev] skip steps depending on parameter values

2013-11-12 Thread Olmo Rigolo
Hi Mauro, I am wondering if it is possible to skip steps depending on parameter values? In other words, I want to programmatically invoke a scenario success within a step, and directly go on with the next example. This is my scenario: Given I am on the website When I enter Then check X And c

[jbehave-dev] How do I populate the scenario/story name to saucelabs?

2013-12-04 Thread Olmo Rigolo
Hi all, in none of the example I could found an example using the SauceContextStoryReporter. 1. I would like to know if the use of SauceContextStoryReporter solves my problem beeing able to populate the scenario/story name to saucelabs? 2. What (else) is the SauceContextStoryReporter good for?

[jbehave-dev] groovy Filter on example data with multiple meta tags

2013-12-06 Thread Olmo Rigolo
Hi all, I have a scenario with 2 example meta filters: Meta: * @environment* * @country* Given I open the website When I login as with password Then I should see the greeting on the HeaderComponent page Examples: |Meta:|username|password|headerGreeting| |@environment authoring @country us|myl

[jbehave-dev] Re: How do I populate the scenario/story name to saucelabs?

2013-12-06 Thread Olmo Rigolo
Hi all, I worked on this problem and found out the following (commented in line). On 4 December 2013 09:32, Olmo Rigolo wrote: > Hi all, > > in none of the example I could found an example using > the SauceContextStoryReporter. > > 1. I would like to

[jbehave-dev] [jira] Created: (JBEHAVE-653) Integrate JIRA

2011-12-08 Thread Olmo Rigolo (JIRA)
Reporter: Olmo Rigolo Priority: Minor We are using JIRA to organise our stories. It would be nice to integrate the story files directly from JIRA, so you don't have to write them twice. At this moment we write the acceptance criteria for a story in JIRA and we copy them int

[jbehave-dev] [jira] (JBEHAVE-653) Integrate JIRA

2011-12-16 Thread Olmo Rigolo (JIRA)
[ https://jira.codehaus.org/browse/JBEHAVE-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286114#comment-286114 ] Olmo Rigolo commented on JBEHAVE-653: - Thanks Cristiano. Your ideas helped me to impleme

[jbehave-dev] [jira] (JBEHAVE-679) Update EBNF grammar

2011-12-20 Thread Olmo Rigolo (JIRA)
[ https://jira.codehaus.org/browse/JBEHAVE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286369#comment-286369 ] Olmo Rigolo commented on JBEHAVE-679: - Nothing changed here: http://jbehave.org/refer

[jbehave-dev] [jira] (JBEHAVE-234) Improve JUnit integration

2011-12-20 Thread Olmo Rigolo (JIRA)
[ https://jira.codehaus.org/browse/JBEHAVE-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286413#comment-286413 ] Olmo Rigolo commented on JBEHAVE-234: - Hi Mauro, could you please provide a better exa

[jbehave-dev] [jira] (JBEHAVE-683) Update jBehave maven goals documentation

2011-12-22 Thread Olmo Rigolo (JIRA)
Olmo Rigolo created JBEHAVE-683: --- Summary: Update jBehave maven goals documentation Key: JBEHAVE-683 URL: https://jira.codehaus.org/browse/JBEHAVE-683 Project: JBehave Issue Type: Task

[jbehave-dev] [jira] (JBEHAVE-232) Replace @Named variable annotation by pattern matching of variable names used in step annotation

2012-07-30 Thread Olmo Rigolo (JIRA)
  Olmo Rigolo edited a

[jbehave-dev] [jira] (JBEHAVE-831) Pre- and postcondition per scenario @BeforeScenario @AfterStory etc. in story description

2012-09-05 Thread Olmo Rigolo (JIRA)
Minor Reporter: Olmo R

[jbehave-dev] [jira] (JBEHAVE-831) Pre- and postcondition per scenario @BeforeScenario @AfterStory etc. in story description

2012-09-05 Thread Olmo Rigolo (JIRA)
Olmo Rigolo

[jbehave-dev] [jira] (JBEHAVE-129) @BeforeScenario and @AfterScenario

2012-09-05 Thread Olmo Rigolo (JIRA)
Olmo Rigolo

[jbehave-dev] [jira] (JBEHAVE-831) Pre- and postcondition per scenario @BeforeScenario @AfterStory etc. in story description

2012-09-05 Thread Olmo Rigolo (JIRA)
Olmo Rigolo

[jbehave-dev] [jira] (JBEHAVE-831) Pre- and postcondition per scenario @BeforeScenario @AfterStory etc. in story description

2012-09-10 Thread Olmo Rigolo (JIRA)
Olmo Rigolo