Defining Test Function in Element
Whenever you need to test a function defined in an element, you can do it this way:
TestRun testRun = TestRun.builder()
.buildElementTest("MyLogic4", "Element")
testRun.getElementScript().sumOfCosts("someSku", 5) == 9
Found an issue in documentation? Write to us.
Â