Les tests sous Drupal 8 - PHPUnit

Drupal 7 utilisait auparavant Simpletest, solution propre à Drupal pour l'écriture de ses tests.

Désormais, Drupal 8 utilise PHPUnit.

Il y a quelque temps, nous sommes intervenus pour mener une formation à l'écriture de tests sous Drupal 8. La présentation réalisée à cet effet en pièce jointe expose :

  • Les différents types de tests
  • Les outils de testing sous Drupal 8
  • La structure d'un test
  • Comment configurer PHPStorm et PHPUnit
Fichier attaché Size
Présentation Tests PHPUnit Drupal 8 (13.99 MB) 13.99 MB
Fichier attaché Size
Présentation Tests PHPUnit Drupal 8 (light) (2.41 MB) 2.41 MB

This content is licensed under the terms of the Creative Commons Attribution-NoDerivatives 4.0 International License.
You are free to:

  • Share — copy and redistribute the material in any medium or format, provided that:
    • You give appropriate credit (mention the name IOSAN and provide a link to the original article),
    • You do not modify the content,
    • You do not use this content for commercial purposes without written permission.
Mon Drupal est en fin de vie

Mon Drupal est en fin de vie

Configuration minimum pour lancer phpunit avec Drupal

Configuration minimum pour lancer phpunit avec Drupal

Docker et OSX

Docker et OSX