Closed thekid closed 7 years ago
This pull request adds a way to support a map containing the arguments to be passed to a value function.
class LiteralsTest extends ParseTest { #[@test, @values(map= [ # '0' => 0, # '1' => 1 #])] public function integer($input, $expect) { $this->assertNodes([['(literal)' => $expect]], $this->parse($input.';')); } }
See also the original unittest parameterization RFC, xp-framework/rfc#267
Released in 9.3.0.
This pull request adds a way to support a map containing the arguments to be passed to a value function.
Example
See also the original unittest parameterization RFC, xp-framework/rfc#267