[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
==========
- [Noalyss-commit] [noalyss] 08/33: Operation details : calcul correctement la différence avec les opérations extournées, (continued)
- [Noalyss-commit] [noalyss] 08/33: Operation details : calcul correctement la différence avec les opérations extournées, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 12/33: Button close for new card, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 06/33: Bug rounded : show amount in currency with 4 dec., Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 10/33: For Misc Operation in currency , show the currency amount / row, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 11/33: Bug for reversed operation when currency are used, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 03/33: Improve HttpInput::extract , the array is set and not passed anymore, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 05/33: Bug : pour non-assujetti , pas de calcul en devise, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 07/33: Bug for reversed operation when currency are used, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 14/33: Typo, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 13/33: Compute.php it happens that the argument are not numeric, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 16/33: Documentation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 15/33: Bug #2079 : 0002079: Recherche de carte : guillement ne passe pas, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 21/33: Cosmetic #2082 : OD parfois ajout différence de change, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 18/33: Bug : currency_id was nullable script compatible PSQL 10, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 20/33: Cosmetic #0002080 : NOT-FOUND, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 22/33: Cosmetic #0002081: PRINTTVA : l'export PDF de la TVA, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 23/33: Fix : date before 2000 throws an exception, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 25/33: Improve ACC_LEDGER compute internal ledger code in base 36, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 27/33: Operation ANC : Bug with decimal, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 28/33: Bug #2085: Comptabilité analytique : erreur dans les balances croisées, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 29/33: Task #0002087: Improve COMPTA/MENUFIN/FREC, Dany De Bontridder, 2021/11/11