Skip to content

Latest commit

 

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtech (PHP)

Exemple minimal pour l'atelier CI/CD avec PHPUnit

Installationfesf

composer install

Lancer les test

composer test
# ou
./vendor/bin/phpunit

Activité "Erreur et correction"

  1. Lancez les tests — un test échoue (addition de nombres négatifs).
  2. Corrigez tests/CalculatorTest.php pour attendre -5 :
$this->assertSame(-5, Calculator::add(-2, -3));
  1. Committez et poussez avec un message lié à votre ticket YouTrack, par ex. :
PICT-101 Comment "Correction du test négatifs" #Fixed

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages