dolibarr/test/phpunit
Raphaël Doursenaud bbe7498de6 Better Travis CI
NEW:
Cleaned up routines for better readability of both declaration and results.
PHP versions now really covered.
    The old code forced install of PHP and didn't use Travis provided versions.
    This resulted in the process not being executed with the declared PHP version.
Dropped MySQL in favor of MariaDB.
    This is now the FLOSS community standard.
    This should help avoid problems with buggy MySQL releases.
Fast finish enabled to show results faster.
Optimized tools installation with composer.
    The right version of the tool is installed for the PHP version under test.
New PHP linter to check for syntax errors.
    Parallelized for better speed.
Apache + PHP FPM for testing webservices.
    The previous mod_php configuration was not supported on Travis.
New global DEBUG environment variable to show verbose output with configuration files content.
IRC notification on #dolibarr@freenode for community awareness.

FIXES:
Bug in scripts preventing execution with environmentalized PHP.
Wrong detection of MAIN_URL_ROOT under specific circumstances.
    $_SERVER["DOCUMENT_ROOT"] empty and $_SERVER["SCRIPT_NAME"] populated.
Relative ignore directive in coding style ruleset to avoid bypassing test.
Unit test errors without an exit status.
    This prevented the CI from properly detecting and reporting the error.

TODOS:
PostgreSQL support.
    This one is tricky since we only have a MySQL dump and the syntax is not directly compatible.
SQLite support.
    Disabled in core at the moment.
Nginx + PHP FPM support.
    Test webservices on the second most popular webserver.
Run dev/* checks.
    We have a nice collection of scripts we could leverage.
Check Javascript.
Check CSS.
Check SQL.
2015-12-13 21:34:36 +01:00
..
AdherentTest.php [Qual] Do not test deprecated update_note_public() 2015-09-24 20:52:43 +02:00
AdminLibTest.php Fix phpunit 2015-04-19 04:43:28 +02:00
AllTests.php Better Travis CI 2015-12-13 21:34:36 +01:00
BankAccountTest.php Merge remote-tracking branch 'origin/3.7' into develop 2015-02-23 14:59:24 +01:00
BonPrelevementTest.php Fixes the way the RUM number is generated. Start phpunit test. 2015-02-20 18:35:52 +01:00
BuildDocTest.php Fix phpunit 2015-04-19 04:43:28 +02:00
CategorieTest.php Fix permissions 2015-12-13 16:16:30 +01:00
ChargeSocialesTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
CMailFileTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
CommandeFournisseurTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
CommandeTest.php Clean code 2015-03-17 00:35:17 +01:00
CommonObjectTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
CompanyBankAccountTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
ContactTest.php Better Travis CI 2015-12-13 21:34:36 +01:00
ContratTest.php Merge remote-tracking branch 'origin/3.7' into develop 2015-01-09 23:09:10 +01:00
CoreTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
DateLibTest.php Add holiday date functions into PHPUnit 2015-11-28 19:54:16 +01:00
DateLibTzFranceTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
DiscountTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
EntrepotTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
Example_import_company_1.csv Fix #3930 Removed executable bit 2015-12-09 13:28:36 +01:00
ExportTest.php Fix permissions 2015-12-13 16:16:30 +01:00
FactureFournisseurTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
FactureRecTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
FactureTest.php Clean code 2015-03-17 00:35:17 +01:00
FactureTestRounding.php WIP PSR2 2015-01-08 18:36:03 +01:00
FichinterTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
FilesLibTest.php More complete PHPunit test 2015-10-14 22:36:32 +02:00
FormAdminTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
Functions2LibTest.php Fix permissions 2015-12-13 16:16:30 +01:00
FunctionsLibTest.php Fix permissions 2015-12-13 16:16:30 +01:00
HolidayTest.php Merge pull request #3595 from GPCsolutions/note 2015-09-26 08:46:51 +02:00
ImagesLibTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
img250x20.png I forgot image file 2012-04-02 09:47:35 +02:00
img250x50.jpg Qual: Use a shared function to define logo heigth. 2012-04-01 23:57:15 +02:00
ImportTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
JsonLibTest.php Fix permissions 2015-12-13 16:16:30 +01:00
LangTest.php Fix permissions 2015-12-13 16:16:30 +01:00
MarginsLibTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
ModulesTest.php Fix permissions 2015-12-13 16:16:30 +01:00
MouvementStockTest.php Merge remote-tracking branch 'origin/3.7' into develop 2015-03-22 12:10:39 +01:00
NumberingModulesTest.php Merge remote-tracking branch 'origin/3.7' into develop 2015-01-16 10:44:41 +01:00
PaypalTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
PdfDocTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
PgsqlTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
phpunit.dtd Fix: Removed warning no dtd found 2011-01-12 14:33:57 +00:00
phpunittest.xml Enhance phpunit tests 2015-04-04 02:44:42 +02:00
PricesTest.php Better Travis CI 2015-12-13 21:34:36 +01:00
ProductTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
ProjectTest.php NEW: Add close date and user for projects. 2015-03-04 16:28:29 +01:00
PropalTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
ScriptsTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
SecurityTest.php Fix permissions 2015-12-13 16:16:30 +01:00
SocieteTest.php Fix permissions 2015-12-13 16:16:30 +01:00
SqlTest.php Fix permissions 2015-12-13 16:16:30 +01:00
testemailing.txt Fix: Error management of mass email feature 2014-05-17 19:02:47 +02:00
textiso.txt Update test samples 2012-02-12 19:15:17 +01:00
textutf8.txt Update test samples 2012-02-12 19:15:17 +01:00
UserGroupTest.php WIP PSR2 2015-01-08 18:36:03 +01:00
UserTest.php Complete the mailmap file. 2015-04-21 16:57:45 +02:00
WebservicesInvoicesTest.php Fix permissions 2015-12-13 16:16:30 +01:00
WebservicesOrdersTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
WebservicesOtherTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
WebservicesProductsTest.php Better Travis CI 2015-12-13 21:34:36 +01:00
WebservicesThirdpartyTest.php Fix permissions 2015-12-13 16:16:30 +01:00
WebservicesUserTest.php Merge remote-tracking branch 'origin/3.7' into 3.8 2015-12-13 16:09:09 +01:00
XCalLibTest.php WIP PSR2 2015-01-08 18:36:03 +01:00