[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario |
Date: |
Sat, 4 Feb 2017 17:14:27 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 26fed5b45299e5ae542e531955e03ae1be4b3376
Author: Rachel <address@hidden>
Date: Fri Dec 16 15:46:58 2016 +0100
Improve DOC for Scenario
---
scenario/readme.txt | 27 +++++++++++++++++++++++++--
scenario/test_parse_formula.php | 4 +++-
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/scenario/readme.txt b/scenario/readme.txt
index 6bd9065..71fd91f 100644
--- a/scenario/readme.txt
+++ b/scenario/readme.txt
@@ -14,10 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+-----------------------
+ FRANCAIS
+-----------------------
Afin d'avoir les scénarios pour les rejouer avec test.php.
-Dans include/constant.php, changer
+Dans include/config.inc.php, changer
define ('LOGINPUT',false); par
define ('LOGINPUT',true);
@@ -33,4 +35,25 @@ Vous pouvez aussi utiliser un nom de fichier plus parlant.
L'objectif étant de pouvoir tester et de rejouer facilement les actions que
vous avez faites.
+Il est aussi possible de faire vos tests unitaire ici , autrement qu'avec
PHPUNIT (voir répertiore php-unit)
+
+
+-----------------------
+ ENGLISH
+-----------------------
+If you want to use scenario in order to use them with test.php
+You must have in include/config.inc.php
+
+define ('LOGINPUT',true);
+
+you must also create the file authorized_debug (this file is empty)
+
+Next step you perform the action you like to test or change , a file into
$_ENV['TMP'] has been created, you
+copy this file into tghe noalyss/scenario folder.
+
+You point you browser noalyss/html/test.php an you click on the link with
the name of the file
+
+and you can rerun the file , it works also for ajax.
+
+It is useful to test ajax answer , unit test or testing a class
diff --git a/scenario/test_parse_formula.php b/scenario/test_parse_formula.php
index 6bd2bfb..b14a59e 100644
--- a/scenario/test_parse_formula.php
+++ b/scenario/test_parse_formula.php
@@ -1,10 +1,12 @@
<?
+//@description:Impress::check_formula test
/*
# check the Impress::check_formula and the parse_formula
# This file is a part of NOALYSS under GPL
# Author D. DE BONTRIDDER address@hidden
*/
-include_once('class_impress.php');
+
+include_once NOALYSS_INCLUDE.'/lib/class_impress.php';
echo '<hr>';
foreach ( array('1',
- [Noalyss-commit] [noalyss] 37/151: remove debug info, (continued)
- [Noalyss-commit] [noalyss] 37/151: remove debug info, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 43/151: Fix problem of accentuated char, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 40/151: Improve Performance Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 34/151: Performance : improve VERIF , Affiche uniquement journaux incorrects, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 35/151: Performance : improve VERIF , Totaux Actif/Passif, Charge/Produit, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 51/151: Improve Doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par défaut différent entre version, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object must be replace by json_encode, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 48/151: Improve Sorttable, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 54/151: Merge branch 'br_6916', Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 22/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 60/151: Regenerated from less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 65/151: Clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 52/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 55/151: Timestamp instead of date, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 61/151: Cosmetic : user / password use placeholder, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 67/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 59/151: improve CSS theme, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 45/151: Documentation and clean code, Dany De Bontridder, 2017/02/04