noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 16/33: Documentation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 16/33: Documentation
Date: Thu, 11 Nov 2021 06:02:47 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit a44642a43bdbcede4b091ade5552b3bb72303f5b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Oct 11 10:20:42 2021 +0200

    Documentation
---
 unit-test/README | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/unit-test/README b/unit-test/README
index dd6bdf5..221b544 100644
--- a/unit-test/README
+++ b/unit-test/README
@@ -1,9 +1,30 @@
 Ce répertoire sert aux tests unitaires avec PHPUNIT, il faut d'abord changer 
dans le bootstrap.php pour que le path soit correct.
-Il faut configurer Netbeans pour pouvoir l'utiliser :
+Il faut configurer pour pouvoir l'utiliser :
 1 . Activer PHPUNIT, 
 2 . dans GLOBAL PATH (propriété du projet) ajouter le fichier phpunit.phar
 3. Donner unit-test comme répertoire de test
 
+Paramètrage
+===========
+
+Pour tester , 
+
+  * installer phpunit et adapter le chemin dans le fichier test-file.php
+  * copier  le fichier bootstrap.example.php vers bootstrap.php
+  * copier  le fichier global.example.php vers global.php
+  * adapter ces 2 fichiers global.php et bootstrap.php
+
+
+Fichiers 
+===========
+
+  * boostrap.example.php , exemple de fichier bootstrap pour phpunit
+  * global.example.php , exemple de fichier pour votre environnement : 
utilisateur et dossier
+  * facility.class.php , classe pour des outils utilisables dans vos tests
+  * test-file.sh script appelant phpunit 
+  * debug-php.sh pour debugguer les tests 
+
+  
 Global.php
 ==========
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]