Hi Mauro/All dev's
I can't zip source code bcz of company policy..sorry about that but i want
to ask whether it's possible to get different output depending upon point
of execution i.e if we run through eclipse,or when we run through command
line(maven)..is it theoretical possible with Jbehave? pls advice..I am
asking bcz you guys implemented fantastic BDD framework as you know the
framework inside out..bcz i made changes in FTL file and these are getting
picked when running through Eclipse but not when i am running through
command line these changes are not picking up..I am using Git and changes
are only present in my branch only and not in master as of now ,is this a
reason? i made change in configuration file for URL to hit but when i do
mvn clean test -Dtest.application= x value then in the configuration file
old URL seen coming after execution..
Pls advice

Cheers,
K


On Tue, Apr 23, 2013 at 4:39 PM, Mauro Talevi <mauro.tal...@aquilonia.org>wrote:

> A zip containing all the src to build via mvn and reproduce problem.
>
> Keep it as simple as possible please.
>
> On 23 Apr 2013, at 12:53, Kaustubh Joshi <kashu.jo...@gmail.com> wrote:
>
> Hi All Dev's,
>
> Working example means? do i need to give code of changed ftl
> file,storyDriver.java,POM file?Please advice..
>
> Cheers,
> K
>
>
> On Tue, Apr 23, 2013 at 12:57 PM, Mauro Talevi <mauro.tal...@aquilonia.org
> > wrote:
>
>>  If you don't provide a working example we won't be able to help you.
>>
>> On 23/04/2013 05:57, Kaustubh Joshi wrote:
>>
>>     Hi All Deva,
>>
>>  I am starting this as a new mail thread so that won't have confusion..
>>
>>  Scenario Question: I wanted to have changes in the reporting of jbehave,
>> so i made changes in jbehave-reports-with-totals.ftl file to get done.This
>> got successfully implemented as i could not see the columns i have removed
>> when I tried running through eclipse but then when i try to run by command
>> prompt (maven) as mvn test -Dtest.application= value
>> -Dtest.enviornment=value -Dtest.browser=Firefox , the test
>>  getting run successfully but when i checked reports in the target folder
>> , i can't see the changes i made in ftl file as again entire report got
>> generated and not the custom report generated when i run through eclipse..
>>  *Any idea why it's happening*? The one answer i got is that
>> The changes you make in the your Stories class will be available to the
>> Maven command-line.  It's only the parameters that are available to the
>> Maven goals that will overwrite any configuration in the Java class. the
>> configuration of FTL template resources can only be done in Java you won't
>> have any issues of overwriting them.
>>
>>  Now this has gone over my head..where i make to changes in
>> storyDriver.java file (where configuration exist) or in POM file so that
>> the changes I made in ftl will get *persistent* even when i try to run
>> through command prompt? pls advice..it's really confusing how jbehave
>> working differently (one in eclipse , one command line)
>>
>>  Please let me know if you need more info/explanation about the problem i
>> asked.
>>
>>  Cheers,
>>  K
>>
>>
>>
>

Reply via email to