1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/scenario
dudjima 3a905a4a87 Update sources 7.01
Update files from sources with last update on noalyss.eu
2018-04-13 18:58:28 +02:00
..
acc_ledger_AccountTest.php Update sources 7.01 2018-04-13 18:58:28 +02:00
acc_ledger_historyTest.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-call-menu.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-confirm.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-new.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-template-confirm.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-template-record.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ach-template.php Update sources 7.01 2018-04-13 18:58:28 +02:00
achisto.php Update sources 7.01 2018-04-13 18:58:28 +02:00
adhisto.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-add-card-category.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-detail-operation1.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-detail-operation2.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-detail-operation3.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-detail-operation4.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax-save-operation.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax_acc_plan_mtable.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ajax_manage_table_sql.php Update sources 7.01 2018-04-13 18:58:28 +02:00
card-list-bank.php Update sources 7.01 2018-04-13 18:58:28 +02:00
card-list-customer.php Update sources 7.01 2018-04-13 18:58:28 +02:00
cfgled Update sources 7.01 2018-04-13 18:58:28 +02:00
cfgpcmn.php Update sources 7.01 2018-04-13 18:58:28 +02:00
company.php Update sources 7.01 2018-04-13 18:58:28 +02:00
comptabilite_analytique.php Update sources 7.01 2018-04-13 18:58:28 +02:00
create-database.php Update sources 7.01 2018-04-13 18:58:28 +02:00
FicheTest.php Update sources 7.01 2018-04-13 18:58:28 +02:00
fin-confirm.php Update sources 7.01 2018-04-13 18:58:28 +02:00
fin-paiement.php Update sources 7.01 2018-04-13 18:58:28 +02:00
fin-record.php Update sources 7.01 2018-04-13 18:58:28 +02:00
fisto.php Update sources 7.01 2018-04-13 18:58:28 +02:00
fsaldo.php Update sources 7.01 2018-04-13 18:58:28 +02:00
historic-card.php Update sources 7.01 2018-04-13 18:58:28 +02:00
inplace_edit.test.php Update sources 7.01 2018-04-13 18:58:28 +02:00
menufin.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ods-confirm.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ods-new.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ods-record.php Update sources 7.01 2018-04-13 18:58:28 +02:00
package_repository.test.php Update sources 7.01 2018-04-13 18:58:28 +02:00
pdf_operation.php Update sources 7.01 2018-04-13 18:58:28 +02:00
progress-bar.test.php Update sources 7.01 2018-04-13 18:58:28 +02:00
readme.txt Update sources 7.01 2018-04-13 18:58:28 +02:00
scenario-1415994947.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415994966.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995071.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995185.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995188.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995192.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995229.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995238.php Update sources 7.01 2018-04-13 18:58:28 +02:00
scenario-1415995254.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995260.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995262.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995277.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995285.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995301.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995308.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995317.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995350.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995352.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995357.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995424.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995434.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995437.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995449.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995545.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415995575.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415996970.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415996980.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997148.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997352.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997358.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997389.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997404.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997407.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997877.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997886.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415997889.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415998124.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415998134.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1415998146.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-1416078146.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-ajax-add-card.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
scenario-historic.php Update sources 7.01 2018-04-13 18:58:28 +02:00
scenario-verif_bilan.php [mod] move files in a subdir 2015-09-27 00:54:25 +02:00
select-box-test.php Update sources 7.01 2018-04-13 18:58:28 +02:00
test_acc_plan_mtable.php Update sources 7.01 2018-04-13 18:58:28 +02:00
test_manage_table_sql.php Update sources 7.01 2018-04-13 18:58:28 +02:00
test_parse_formula.php Update sources 7.01 2018-04-13 18:58:28 +02:00
tva_parameter.php Update sources 7.01 2018-04-13 18:58:28 +02:00
vehisto Update sources 7.01 2018-04-13 18:58:28 +02:00
ven-call-menu.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ven-new.php Update sources 7.01 2018-04-13 18:58:28 +02:00
ven-record.php Update sources 7.01 2018-04-13 18:58:28 +02:00

* 
 * Copyright (C) 2014 Dany De Bontridder <dany@alchimerys.be>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * 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/config.inc.php, changer 
define ('LOGINPUT',false); par
define ('LOGINPUT',true); 

Ensuite, aller dans votre dossier de test et faites une action (une vente, un achat...), vous devez ouvrir le fichier test.php
ce que vous venez de faire a été sauvé dans le répertoire défini par $_ENV['TMP'], (sous linux il s'agit de /tmp )avec un nom ressemblant à scenario-<nombre>.php
    
Vous devez d'abord copier ce fichier dans ce répertoire-ci

Si vous pointez votre browser sur noalyss/html/test.php (après avoir créé le fichier authorized_debug) en cliquant sur le 
lien avec le nom de fichier vous pourrez rejouer l'action. Vous pouvez améliorer la description en changeant l'annotation //@description: <CODE> 

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