iets3.opensource icon indicating copy to clipboard operation
iets3.opensource copied to clipboard

Syntax of optional name in assert test items confusing

Open alexanderpann opened this issue 1 year ago • 0 comments

Example: fourtyTwo = assert lambda.exec() equals 47 The name fourtyTwo is assigned to this assert item and can be used in the following assert test items. While it is true that this is an assignment, it is completely unclear what's happening when you are not familiar with this name. Maybe we need a var keyword in front of the variable. Personally, I would prefer something similar to the Haskell As-Pattern: assert@fourtyTwo lambda.exec() equals 47

alexanderpann avatar Jul 21 '23 05:07 alexanderpann