Re: [jbehave-user] Using inline comments in stories?

2013-11-21 Thread Mauro Talevi
Inline comments are not currently supported.

On 21 Nov 2013, at 14:40, Hans Schwäbli bugs.need.love@gmail.com wrote:

 Is it possible to use inline comments in examples like below?
 
 Examples:
 |accountNr   |city   |
 |123 !-- private customer|Zuerich|
 |312 |Zuerich|
 |999 !-- company customer|Basel  |
 
 The above example does not work, neither with !-- nor with |--.
 
 As it seems, comments can only start on a new line in JBehave. So a 
 workaround would be:
 
 Examples:
 |accountNr   |city   |
 !-- private customer
 |123 |Zuerich|
 |312 |Zuerich|
 !-- company customer
 |999 |Basel  |
 
 But this is not so readable as the inline comments since it destroys the 
 layout of the example table quite a bit.
 
 Does it work to use inline comments? If yes, how?
 
 If now, what do you think about improving JBehave so that inline comments can 
 be used in stories?


[jbehave-user] Using inline comments in stories?

2013-11-21 Thread Hans Schwäbli
Is it possible to use inline comments in examples like below?

*Examples:*
|accountNr   |city   |
|123 !-- private customer|Zuerich|
|312 |Zuerich|
|999 !-- company customer|Basel  |

The above example does not work, neither with !-- nor with |--.

As it seems, comments can only start on a new line in JBehave. So a
workaround would be:

*Examples:*
|accountNr   |city   |
!-- private customer
|123 |Zuerich|
|312 |Zuerich|
!-- company customer
|999 |Basel  |

But this is not so readable as the inline comments since it destroys the
layout of the example table quite a bit.

Does it work to use inline comments? If yes, how?

If now, what do you think about improving JBehave so that inline comments
can be used in stories?


Re: [jbehave-user] Using inline comments in stories?

2013-11-21 Thread Hans Schwäbli
I see. Thank you for the quick response. I have created a Jira issue with
an improvement suggestion (low priority):

http://jira.codehaus.org/browse/JBEHAVE-962


2013/11/21 Mauro Talevi mauro.tal...@aquilonia.org

 Inline comments are not currently supported.

 On 21 Nov 2013, at 14:40, Hans Schwäbli bugs.need.love@gmail.com
 wrote:

 Is it possible to use inline comments in examples like below?

 *Examples:*
 |accountNr   |city   |
 |123 !-- private customer|Zuerich|
 |312 |Zuerich|
 |999 !-- company customer|Basel  |

 The above example does not work, neither with !-- nor with |--.

 As it seems, comments can only start on a new line in JBehave. So a
 workaround would be:

 *Examples:*
 |accountNr   |city   |
 !-- private customer
 |123 |Zuerich|
 |312 |Zuerich|
 !-- company customer
 |999 |Basel  |

 But this is not so readable as the inline comments since it destroys the
 layout of the example table quite a bit.

 Does it work to use inline comments? If yes, how?

 If now, what do you think about improving JBehave so that inline comments
 can be used in stories?