I installed Drupal Console, put it on my path, didran drupal init
, and successfully successfully used itDrupal Console to generate a module.
Now I want to run tests with drupal test:run
, but I get this error:.
dev@caiccrm:~/drupal/web$ drupal test:run
[ERROR] Command "test:run", is not a valid command name.
[ERROR] Command "test:run", is not a valid command name.
drupal
outputs lots and lots oflists many commands, but it is missing the test ones for tests. Here'sThis is a sample of the list:.
state
state:delete (std) Delete State
state:override (sto) Override a State key.
taxonomy
taxonomy:term:delete (ttd) Delete taxonomy terms from a vocabulary
theme
theme:download (thd) Download theme in application
theme:install (thi) Install theme or themes in the application
theme:path (thp) Returns the relative path to the theme (or absolute path)
theme:uninstall (thu) Uninstall theme or themes in the application
update
update:entities (upe) Applying Entity Updates
update:execute (upex,updb) Execute a specific Update N function in a module, or execute all
user
user:create (uc) Create users for the application
user:delete (ud) Delete users from the application
state
state:delete (std) Delete State
state:override (sto) Override a State key.
taxonomy
taxonomy:term:delete (ttd) Delete taxonomy terms from a vocabulary
theme
theme:download (thd) Download theme in application
theme:install (thi) Install theme or themes in the application
theme:path (thp) Returns the relative path to the theme (or absolute path)
theme:uninstall (thu) Uninstall theme or themes in the application
update
update:entities (upe) Applying Entity Updates
update:execute (upex,updb) Execute a specific Update N function in a module, or execute all
user
user:create (uc) Create users for the application
user:delete (ud) Delete users from the application
Any ideas whyWhy are the test section iscommands for tests missing?