Re: [jbehave-dev] Loggin in jbehave

2015-01-29 Thread Frank Pedroza
We addressed this need by introducing the LoggingStoryReporter as shown early on in the thread. This allowed us to continue capturing system outs to the console (yuck) but also capture all our logging in a separate file. We sent up 2 log4j appenders to do this. On Thu, Jan 29, 2015 at 1:56 AM, Om

Re: [jbehave-dev] mailing list confusion

2014-11-25 Thread Frank Pedroza
xpertise, your contribution > would be most welcome. > > Here's how: http://jbehave.org/how-to-contribute.html > > Cheers > > > On 25/11/2014 19:31, Frank Pedroza wrote: > > 2 issues: > > First: > Sorry, but not sure how to answer this question. This

[jbehave-dev] mailing list confusion

2014-11-25 Thread Frank Pedroza
2 issues: First: Sorry, but not sure how to answer this question. This may be a noob question, but it seems like every site does it differently. This page (http://jbehave.org/mailing-lists.html) lists 5 mailing lists with no description of the intent behind them: - gmane.comp.java.jbehave.de

[jbehave-dev] post test run callback

2014-11-18 Thread Frank Pedroza
Is there support in the jbehave framework for registering a post-test run callback? I was hoping for a addPostTestRunListener() type of method, but don't see anything. Currently, in our InjectableEmbedder impl, we're calling some method that's part of an object we configured in our Configuration

Re: [jbehave-dev] Step Class Instance Reuse?

2014-09-08 Thread Frank Pedroza
I believe our observation has been that a new Step class instance is created for each and every step method. As such, we are using the context pattern for passing state across Step classes as well as from one Step method to another within the same Step class. On Sun, Sep 7, 2014 at 2:33 PM, Mauro

Re: [jbehave-dev] jbehave plugin configuration

2014-07-08 Thread Frank Pedroza
rt another language than the one in the list? >> >> >> On 07/07/2014 21:05, Frank Pedroza wrote: >> >>> Is it possible to configure the JBehave eclipse plugin to use a >>> different/customize 'Story Language'? >>> >>> http://jbeha

[jbehave-dev] jbehave plugin configuration

2014-07-07 Thread Frank Pedroza
Is it possible to configure the JBehave eclipse plugin to use a different/customize 'Story Language'? http://jbehave.org/eclipse-integration.html

Re: [jbehave-dev] tabular parameters whitespace

2014-07-01 Thread Frank Pedroza
bump on this issue as well... do others have this same need or am I unique here? Do others have another solution they're using to solve this? On Fri, May 30, 2014 at 9:52 AM, Frank Pedroza wrote: > I'd like to be able to specify a bunch of values to send to a text field >

Re: [jbehave-dev] MethodReturningConverter how-to

2014-05-30 Thread Frank Pedroza
eterConverter annotation: > > https://github.com/jbehave/jbehave-core/blob/master/ > examples/core/src/main/java/org/jbehave/examples/core/ > steps/CalendarSteps.java > > > On 30/05/2014 01:27, Frank Pedroza wrote: > >> Can anyone expl

Re: [jbehave-dev] tabular parameters whitespace

2014-05-30 Thread Frank Pedroza
cell would be best. For example: | value | message | | foo | some message | | " foo " | some message | | "fo"o" | some message | On Fri, May 30, 2014 at 12:54 AM, Mauro Talevi wrote: > That's correct, it applies to all values. What's your usecase? &

[jbehave-dev] MethodReturningConverter how-to

2014-05-29 Thread Frank Pedroza
Can anyone explain how to use the MethodReturningConverter?

[jbehave-dev] tabular parameters whitespace

2014-05-29 Thread Frank Pedroza
I see the tabular parameters documentation has a section on preserving whitespace via the {trim=false}. I assume there's nothing that allows me to control that on a per column or per cell level, right? Would there be benefit to something like this? -- ---

Re: [jbehave-dev] BooleanConverter confusion

2014-05-19 Thread Frank Pedroza
; See previous email ... > > > On 16 May 2014, at 22:55, Frank Pedroza wrote: > > > > public static void main(String[] args) { > > System.out.println("accepts :" + new > ParameterConverters.BooleanConverter().accept(Boolean.TYPE)); >

[jbehave-dev] BooleanConverter confusion

2014-05-16 Thread Frank Pedroza
public static void main(String[] args) { System.out.println("accepts :" + new ParameterConverters.BooleanConverter().accept(Boolean.TYPE)); System.out.println("true==true :" + ((Boolean)new ParameterConverters.BooleanConverter().convertValue("true", Boolean.TYPE) == true)); System.out.p

[jbehave-dev] Multiple ParameterConverters of same type

2014-05-16 Thread Frank Pedroza
Is it possible to have multiple ParameterConverters of the same type? I ask because I have the following and it doesn't seem to be working. public Configuration getConfiguration() { Configuration config = new MostUsefulConfiguration() .useStoryParser(new GherkinStoryParser())

Re: [jbehave-dev] Why System.out rather than logging framework

2014-05-12 Thread Frank Pedroza
Mon, May 12, 2014 at 4:08 PM, Mauro Talevi wrote: > Can you be a bit more specific please. An example? > > On 12/05/2014 20:48, Frank Pedroza wrote: > > I'm attempting to capture where in a story is during a story run as well > as any stacks that are showing up in the conso

Re: [jbehave-dev] Why System.out rather than logging framework

2014-05-12 Thread Frank Pedroza
t with your own: > > http://jbehave.org/reference/stable/configuration.html > > What use case are you trying to satisfy? Having say debug-level logging > being always written to a file in the background? > > On 12 May 2014, at 19:21, Frank Pedroza wrote: > > Could you

Re: [jbehave-dev] Why System.out rather than logging framework

2014-05-12 Thread Frank Pedroza
Is the PrintStreamStepMonitor on the right path? http://jbehave.org/reference/stable/javadoc/core/org/jbehave/core/steps/PrintStreamStepMonitor.html On Mon, May 12, 2014 at 12:21 PM, Frank Pedroza wrote: > Could you help me understand this a bit more or point me to something that > ex

Re: [jbehave-dev] Why System.out rather than logging framework

2014-05-12 Thread Frank Pedroza
operly. Most logging frameworks rely on static lookup > mechanisms. > > If you want to use a logging framework you can still do so by providing a > logging implementation of the relevant interfaces. > > Cheers > > > On 9 May 2014, at 22:09, Frank Pedroza wrote: > > &g

[jbehave-dev] Why System.out rather than logging framework

2014-05-09 Thread Frank Pedroza
I'm new to the group so sorry if this isn't the right venue for this sort of question or if this has already been addressed, but why is any of the JBehave framework using System.out rather than something like slf4j?