Skip to content

[test] How to test the Drupal Console testing cases? #3939

@webther

Description

@webther

Problem/Motivation

There are some test files in the /vendor/drupal/console/Test directory. What is the correct way to test these testing cases?

How to reproduce

$ vendor/bin/phpunit vendor/drupal/console/Test/Generator/FormGeneratorTest.php

The result returns PHP Fatal error: Class 'Drupal\Console\Test\Generator\GeneratorTest' not found in \vendor\drupal\console\Test\Generator\FormGeneratorTest.php on line 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions