VitestTestBuilder
class VitestTestBuilder implements TestBuilderInterface
Utility class that supports ability to create new tests for Vitest based tests.
Methods
static int
makeTest(string $testName, InputInterface $input)
Creates a new test class. Three types of test can be generated based on flag
Details
at line 26
static int
makeTest(string $testName, InputInterface $input)
Creates a new test class. Three types of test can be generated based on flag
- --component - Creates component test
- --unit - Creates unit test
- --view - Creates view test