Eric Espie
71464f6d0e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/cmdbobject.class.inc.php
# core/dbobject.class.php
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-09-19 09:45:08 +02:00
Pierre Goiffon
56e7992d4a
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/ItopTestCase.php
2022-09-08 18:25:15 +02:00
Pierre Goiffon
3bc12b0434
N°5513 Improve PHPUnit output to stdout
...
Will allow to see progress when looking at the Jenkins output
2022-09-08 15:11:02 +02:00
Eric Espie
b827c68187
Merge branch 'develop' into feature/faf_event_service
2022-05-25 10:04:54 +02:00
Benjamin Dalsass
87f606f768
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/dashlet.class.inc.php
# pages/ajax.render.php
# pages/csvimport.php
# test/phpunit.xml.dist
2022-05-18 10:38:50 +02:00
Pierre Goiffon
534e7cf59d
✅ N°4655 New nightly PHPUnit file containing OQL tests
...
Those tests were removed in 72af2b7c as they took too much time to run.
We are re-enabling them but only for nightly builds !
2022-05-18 09:35:13 +02:00
Pierre Goiffon
867cc6ce7e
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2022-05-03 10:52:01 +02:00
Pierre Goiffon
b348e0ff27
🔧 N°3091 PHPunit XML : change html_errors PHP setting
...
We are outputting to console, and will get results in Jenkins or terminal, so no HTML please :o)
2022-05-03 10:51:48 +02:00
Pierre Goiffon
c5527c106c
🔧 N°3091 PHPunit XML : set columns
2022-05-02 15:33:39 +02:00
Pierre Goiffon
5eac1b8730
🔧 N°3091 PHPunit XML : fix correct PHP INI settings
...
see https://phpunit.readthedocs.io/en/8.5/configuration.html#the-php-element
2022-05-02 15:25:59 +02:00
Pierre Goiffon
fc6df1063c
N°4660 restore old phpunit testsuites order
...
Was causing error in DataSynchroTest::testDataSynchroByHttp
2022-04-22 16:29:01 +02:00
Pierre Goiffon
f4a027b474
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# composer.json
# core/cmdbchangeop.class.inc.php
# core/cmdbobject.class.inc.php
# css/light-grey.scss
# setup/setuputils.class.inc.php
# test/ItopTestCase.php
# test/core/ConfigTest.php
# test/core/LogAPITest.php
# test/core/UserRightsTest.php
# test/core/dictApcuTest.php
# test/core/dictTest.php
# test/core/iTopConfigParserTest.php
# test/core/ormLinkSetTest.php
# test/phpunit.xml.dist
# test/postbuild_integration.xml.dist
# test/setup/SetupUtilsTest.php
# test/status/StatusIncTest.php
# webservices/cron.php
2022-04-22 15:26:18 +02:00
Pierre Goiffon
cb39541e2a
N°3091 Update PHPUnit to 8.5 : composer and base files
...
Autoload wasn't working anymore, easy to see : just launch `php unittestautoload.php` (or see fatal errors when launching tests with your IDE)
2022-04-21 10:47:30 +02:00
Eric Espie
cea6c557ce
Merge branch 'develop' into feature/faf_event_service
2022-03-15 10:52:45 +01:00
Pierre Goiffon
6c5ca614e0
🔧 phpunit.xml restoring old style
...
Not enough time to work on this right now :(
Will be done with N°4660
2022-01-13 14:14:59 +01:00
Pierre Goiffon
4ddee0b624
🔧 phpunit.xml setup at the end
...
\Combodo\iTop\Test\UnitTest\Synchro\DataSynchroTest::RunDataSynchroTest was generating a ConfigException (file exists but cannot be read)
2022-01-13 13:50:39 +01:00
Pierre Goiffon
135ddbf37d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# test/phpunit.xml.dist
2022-01-13 13:36:09 +01:00
Pierre Goiffon
a43adcd202
🔧 phpunit.xml comment OQL better
...
Was executing on Jenkins :(
2022-01-13 13:11:26 +01:00
Pierre Goiffon
e8e170fb06
🔧 phpunit.xml reorder testSuites again
2022-01-13 13:05:42 +01:00
Pierre Goiffon
5ac5d649aa
🔧 Try again : reorder test suites for better readability
...
Jenkins should now be fixed
2022-01-13 12:15:12 +01:00
Pierre Goiffon
decb802df4
Revert " 🔧 Reorder test suites for better readability"
...
This reverts commit cacc3a3085 .
2022-01-13 09:48:07 +01:00
Pierre Goiffon
cacc3a3085
🔧 Reorder test suites for better readability
2022-01-13 09:42:21 +01:00
Pierre Goiffon
0fd2ea6a47
🎨 phpunit.xml code formatting
2022-01-13 09:42:21 +01:00
Molkobain
ab7e73ef9b
Unit tests: Fix typo in tests suite name
2022-01-12 15:56:42 +01:00
Molkobain
31e7a5383c
Unit tests: Activate tests that were never ran... 🥶
2022-01-12 15:31:40 +01:00
Pierre Goiffon
b55ba2ac7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/log.class.inc.php
# test/setup/iTopDesignFormat/iTopDesignFormatTest.php
2022-01-12 09:56:16 +01:00
Pierre Goiffon
6855c2f83a
N°4624 restore backupGlobals to default
2022-01-11 17:29:32 +01:00
Molkobain
b11bf30881
Unit tests: Activate tests that were never ran... 🥶
...
Note that testGetMysqlCliTlsOptions will fail
2022-01-11 15:49:21 +01:00
Pierre Goiffon
8578d18e7f
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/cmdbsource.class.inc.php
# core/config.class.inc.php
# core/displayablegraph.class.inc.php
# core/log.class.inc.php
# datamodels/2.x/itop-config-mgmt/dictionaries/tr.dict.itop-config-mgmt.php
# datamodels/2.x/itop-knownerror-mgmt/dictionaries/tr.dict.itop-knownerror-mgmt.php
# datamodels/2.x/itop-service-mgmt/dictionaries/tr.dict.itop-service-mgmt.php
# datamodels/2.x/itop-tickets/tr.dict.itop-tickets.php
# datamodels/2.x/itop-welcome-itil/tr.dict.itop-welcome-itil.php
# dictionaries/tr.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.ui.php
# pages/UI.php
# setup/itopdesignformat.class.inc.php
# test/core/LogAPITest.php
# test/integration/iTopModulesPhpVersionChecklistTest.php
# test/postbuild_integration/SetupCssIntegrityChecklistTest.php
# test/postbuild_integration/iTopModuleXmlInstallationChecklistTest.php
# test/status/StatusTest.php
2022-01-10 16:15:00 +01:00
Eric Espie
551abc861e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/loginwebpage.class.inc.php
# core/dbobject.class.php
# core/log.class.inc.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# setup/compiler.class.inc.php
# test/phpunit.xml.dist
2021-12-31 08:42:16 +01:00
Pierre Goiffon
6bf25f90bc
Tests : remove global process isolation
...
Is done in ItopDataTestCase using annotation
Other tests (like the one extending ItopTestCase) won't use isolation anymore
2021-12-29 15:31:25 +01:00
odain
262a815457
N°3805 - Collectors not working on itop 3.0 - activate data synchro test in ci + cover current bug with a specific one
2021-03-23 19:07:38 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
odain
571520815a
N°3412 - Command Injection vulnerability in the Setup Wizard - include test to CI
2021-02-16 17:25:45 +01:00
odain
4d61c14f80
N°3464 add test in phpunit.xml.dit to validate the fix
2020-12-07 00:12:31 +01:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Eric
8bfc54e6b4
Event Service
2020-07-15 14:42:33 +02:00
odain
72af2b7cd6
comment OQL section in phpunit.dist.xml
2019-12-03 11:41:57 +01:00
odain
15d11c6c86
reomve echo that prevented phpunit execution
2019-12-03 11:26:35 +01:00
odain
007b8147c7
fix phpunit step
2019-12-03 11:17:01 +01:00
odain
ed81391aff
!y# This is a combination of 4 commits.
...
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
run OQL tests depending on jenkins param
try sth
try sth
try sth
try sth
try sth
fix parameter to run OQL tests or not
2019-12-03 11:02:15 +01:00
bruno DA SILVA
23fc4bb4f7
n°524 - password policy
2019-11-22 12:23:00 +01:00
Guy Couronné
d4d16f43ac
✨ Add status.php for getting iTop's status ( #56 )
...
Allow for HAProxy and monitoring to get iTop's status
✅ Add tests for status
Signed-off-by: Guy Couronné <gcouronne:@sapiens.biz>
2019-04-17 09:21:45 +02:00
Eric
3ee8d5125b
✅ Support for extensions unit tests (scans env-production/*/test)
2019-01-15 11:52:05 +01:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02:00
Bruno Da Silva
e74b23f305
PHPunit is now integrated through composer (inside the directory /test)
...
SVN:trunk[5775]
2018-05-04 15:59:34 +00:00