Details
Description
We'd like to be able to include comments in tables to make scenarios clearer, but JBehave refuses to read in the lines after the comment in this example, leading to zero rows being created in the resulting ExamplesTable.
Given the documents:
a | b | c |
– I'd like to have a comment here – | ||
1 | 2 | 3 |
4 | 5 | 6 |
1 | 2 | 3 |
I've tried a small test with 2.5.9 and 3.0 of JBehave but they don't fix the problem.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Table parsing stops when a comment is found | Allow comments in tables |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Fix Version/s | 3.0.3 [ 16775 ] | |
Component/s | Core [ 11086 ] |
Mauro Talevi
made changes -
Description |
We'd like to be able to include comments in tables to make scenarios clearer, but JBehave refuses to read in the lines after the comment in this example, leading to zero rows being created in the resulting ExamplesTable.
Given the documents: |a|b|c| !-- I'd like to have a comment here |1|2|3| |4|5|6| |1|2|3| I've tried a small test with 2.5.9 and 3.0 of JBehave but they don't fix the problem. |
We'd like to be able to include comments in tables to make scenarios clearer, but JBehave refuses to read in the lines after the comment in this example, leading to zero rows being created in the resulting ExamplesTable.
Given the documents: |a|b|c| |-- I'd like to have a comment here --| |1|2|3| |4|5|6| |1|2|3| I've tried a small test with 2.5.9 and 3.0 of JBehave but they don't fix the problem. |
Mauro Talevi
made changes -
Assignee | Mauro Talevi [ maurotalevi ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Added separator "|--" to ignore table rows in parsing. Separator is configurable via Keywords as other example table's separators.