We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3b7dc commit 09ed581Copy full SHA for 09ed581
src/TestCaseGenerator.php
@@ -14,12 +14,21 @@ class TestCaseGenerator
14
15
protected $rules;
16
17
+ /**
18
+ * Initiates the global parameters
19
+ */
20
public function __construct()
21
{
22
$this->faker = Faker\Factory::create();
23
$this->cases = [];
24
}
25
26
27
+ * Initialize the params and rules and generates the test cases
28
+ *
29
+ * @param array $rules
30
+ * @return array
31
32
public function generate($rules)
33
34
$this->params = array_keys($rules);
0 commit comments