In order to improve the error reporting of our testing utils, we would like to have a ISpecificationContext#getCurrentBlock() method.
If the code is before any block, it should return a block of type SETUP and no text.
Ideally, the text of blocks returned by this method would have resolved #references, similar to the spec titles.
In order to improve the error reporting of our testing utils, we would like to have a
ISpecificationContext#getCurrentBlock()method.If the code is before any block, it should return a block of type
SETUPand no text.Ideally, the text of blocks returned by this method would have resolved
#references, similar to the spec titles.