Details
Description
Posted by Gerard Meszaros on wiki:
We had trouble using numbers with decimal points in our specs because we were dealing with money. We tried declaring parameters as BigDecimal but could not get this to work. It should be possible to do this out of the box with no extra effort as it is a pretty common need.
BigInteger should also be supported.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 2.3 [ 14941 ] | |
Fix Version/s | 2.4 [ 15664 ] |
Mauro Talevi
made changes -
Description |
Posted by Gerard Meszaros on wiki: We had trouble using numbers with decimal points in our specs because we were dealing with money. We tried declaring parameters as BigDecimal but could not get this to work. It should be possible to do this out of the box with no extra effort as it is a pretty common need. |
Posted by Gerard Meszaros on wiki: We had trouble using numbers with decimal points in our specs because we were dealing with money. We tried declaring parameters as BigDecimal but could not get this to work. It should be possible to do this out of the box with no extra effort as it is a pretty common need. BigInteger should also be supported. |
Summary | Add support for BigDecimal parameters | Add support for BigDecimal and BigInteger parameters |
Mauro Talevi
made changes -
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Mauro Talevi
made changes -
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Mauro Talevi
made changes -
Fix Version/s | 2.3.1 [ 15921 ] |
Mauro Talevi
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Currently this is achievable via a custom parameter converter: http://jbehave.org/documentation/parameter-converters
Out-of-the-box support will follow soon.