Open rohitsanj opened 3 years ago
hi there @rohitsanj i would love to pick up this issue
and just to be clear, tb.get doesnt really return the reference to the objects but the objects itself. What i would be working on is to replace all reference of tb.ref with tb.get since the implementation has changed in the source code according to issue #92
With #92, a new way of creating reference objects was introduced.
tb.ref
withtb.get
and also mention that one can use the indexing pattern to create the objects.tb.get
is called on that variable, the actual value will be fetched, and not the reference object, which was the case before. (This is the actual reason why we need to move away fromtb.ref
examples because they no longer return "references" always.)This piece of code outlines the different ways we can create testbook reference objects as of now.