Romain Quetiez
f58ec7e38e
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-27 14:22:20 +02:00
Romain Quetiez
73fd0b06b2
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
# tests/php-unit-tests/unitary-tests/core/CMDBSource/TransactionsTest.php
# tests/php-unit-tests/unitary-tests/sources/Application/TwigBase/Twig/TwigTest.php
2023-10-27 14:12:06 +02:00
Romain Quetiez
8fa9336568
✅ Fix regression introduced with the optimization done in 15148f7, and seen only in the context of the CI
2023-10-27 11:21:56 +02:00
Romain Quetiez
15148f7d1d
✅ Fix regression introduced with the optimization done in 798cd10, and seen only if APC is enabled
2023-10-27 10:43:13 +02:00
Romain Quetiez
7e8589ba95
✅ Fix regression introduced with the optimization done in d641504. Cope with the fact that sometimes the admin account already exists, sometimes not.
2023-10-27 09:21:36 +02:00
Romain Quetiez
fba668207f
✅ Optimize tests execution time (test rework and defensive cleanup)
2023-10-26 21:35:52 +02:00
Romain Quetiez
798cd10d6b
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:23:47 +02:00
Romain Quetiez
442721bcb5
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:22:54 +02:00
Romain Quetiez
1a9049d277
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:16:24 +02:00
Romain Quetiez
c0931af91a
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean, set file modification date instead of waiting for 1 second)
2023-10-26 21:15:57 +02:00
Romain Quetiez
29e9a06dc1
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:10:47 +02:00
Romain Quetiez
d6415042ae
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:10:07 +02:00
Romain Quetiez
90006667fe
✅ Optimize tests execution time (copy fixture files only when necessary)
2023-10-26 20:58:26 +02:00
Romain Quetiez
fd351df08b
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-10-26 20:53:24 +02:00
Romain Quetiez
7419749ba6
✅ Prerequisites for boosting tests
2023-10-26 20:51:28 +02:00
Romain Quetiez
73bed04555
✅ Twig tests not executed
2023-10-26 10:47:11 +02:00
Romain Quetiez
8893cdac1d
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 10:44:37 +02:00
Romain Quetiez
7f245a15be
✅ Optimize tests execution time (suppress meaningless test and merge two test in one, while preserving test coverage)
2023-10-25 23:01:05 +02:00
Romain Quetiez
b5c46ccd4a
✅ Optimize tests execution time (x10 / no need for a systematic check of date formats, which was ok as a first approach)
2023-10-25 22:59:03 +02:00
Romain Quetiez
7fbc211c43
✅ Optimize tests execution time (x50 / eval is way faster than exec)
2023-10-25 22:57:03 +02:00
Romain Quetiez
cf774cdb90
✅ Explain why process isolation is a must
2023-10-25 22:18:05 +02:00
Romain Quetiez
722a58491c
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
2023-10-25 22:08:08 +02:00
Romain Quetiez
037dfe1df6
✅ Optimize tests execution time
2023-10-25 17:51:12 +02:00
Romain Quetiez
0b26d45014
✅ Prerequisites for boosting tests
2023-10-25 17:50:41 +02:00
Eric Espie
44e826543d
N°6870 - Community re-integration support
2023-10-25 14:30:16 +02:00
Eric Espie
50f5ab6be4
✅ Fix ModelFactory tests
2023-10-25 14:03:26 +02:00
Eric Espie
941412a365
Community integration: changed default behaviour for datamodel XML nodes without _delta from 'must_exist' to 'merge'
2023-10-25 10:05:46 +02:00
Molkobain
40d1ae0b1c
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-10-23 15:17:43 +02:00
Molkobain
b9c566238a
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
Remove PHPUnit annotations as from support/3.0 and newer they are no longer necessary
2023-10-23 15:09:49 +02:00
Molkobain
4fd8177165
N°3715 - Fix unit tests
2023-10-23 14:55:06 +02:00
Anne-Cath
c597c34e5c
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-10-20 17:06:11 +02:00
Anne-Cath
0cc0f39d9e
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-10-20 17:04:26 +02:00
Anne-Catherine
a2cdf214f0
N°3715 - Export above 1000 entries ignore obsolete data from user preference ( #468 )
...
* N°3715 - Export above 10000 entries ignore obsolete data from user preference
2023-10-20 17:02:16 +02:00
Pierre Goiffon
31a1370028
Merge branch 'support/3.1.0' into support/3.1
...
# Conflicts:
# core/DbConnectionWrapper.php
# tests/php-unit-tests/unitary-tests/core/CMDBSource/TransactionsTest.php
2023-10-17 11:13:29 +02:00
Pierre Goiffon
d0d90d7c69
N°6848 Fix TransactionsTest::testTransactionOpenedNotClosed failing
...
Was caused by 239c51bb , which adds 65bb76b9 tests improvements but only partly : we were missing in TransactionsTest::tearDown the mysqli reset from mock to original mysqli cnx
Without this reset the rollback made in ItopTestCase::tearDown is throwing an exception (query() method on the DbConnectionWrapper cnx returns false in \CMDBSource::DBQuery) on PHP 8.1 and 8.2
Co-authored-by: Romain Quetiez <romain.queriez@combodo.com >
2023-10-17 10:53:26 +02:00
Molkobain
819baa3951
Merge remote-tracking branch 'origin/support/3.1.0' into support/3.1
2023-10-06 17:47:52 +02:00
odain
239c51bb53
ci enhancement: complete tearDown to cleanup transactions and cmdb changes properly
2023-10-03 10:09:26 +02:00
Pierre Goiffon
c5cb84f976
N°6733 Fix some attributes impl not prompted in transitions when mandatory
2023-09-26 11:32:06 +02:00
Molkobain
f01997f2ad
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-09-20 16:16:53 +02:00
Molkobain
fc6e98b534
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-09-20 16:12:51 +02:00
Molkobain
8ecebee511
✅ PHP unit tests: Fix typo for "final private" methods as they can't be both
2023-09-20 16:11:39 +02:00
Molkobain
2f6bcc3534
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-09-19 08:41:46 +02:00
Molkobain
4923418f58
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-09-19 08:39:41 +02:00
Molkobain
0a6c82dfe1
N°6752 - PHP unit tests: Fix typo in postbuild_integration.xml.dist
2023-09-19 08:37:46 +02:00
Molkobain
f89d843ab3
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-09-18 16:06:53 +02:00
Molkobain
2dd7f5cada
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-09-18 15:37:32 +02:00
Molkobain
dc0cd44c79
N°6752 - PHP unit tests: Migrate usages of unitestautoload.php to composer autoloader
2023-09-18 15:14:44 +02:00
odain
6110abfc7f
Merge branch 'support/3.0' into support/3.1
2023-09-15 10:08:37 +02:00
odain
6046f44f56
Merge branch 'support/2.7' into support/3.0
2023-09-15 10:08:08 +02:00
odain
6c6131ce03
N°5491 - test enhancement to reduce false positive
2023-09-15 10:07:42 +02:00