Inline comments are not currently supported.

On 21 Nov 2013, at 14:40, Hans Schwäbli <[email protected]> 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?

Reply via email to