Commit Graph

54 Commits (f674f2d9b0ec1d7c272001e4bff5991d31b54488)

Author SHA1 Message Date
catch 504b0dbf28 Issue #3233010 by alexpott, longwave: drupal_phpunit_contrib_extension_directory_roots() passes NULL to file_exists() causing deprecations in PHP 8.1 2021-09-23 11:01:26 +01:00
Lee Rowlands d2462e3d01
Issue #3225351 by mglaman: bootstrap.php has incorrect comment about test trait namespace 2021-07-28 16:45:06 +10:00
mondrake 49eb106bca Issue #3175718 by mondrake, alexpott, jungle, longwave: Random fails due to drupal-settings-json being counted as page text 2021-06-21 20:32:27 +00:00
Lee Rowlands ccc9255595
Issue #3209048 by jedihe, jplana: Core themes are not added to the test autoloader 2021-04-26 18:23:10 +10:00
xjm 0f66cce399 Issue #2937513 by eltori, longwave, klausi, catch, idebr: Fix 'Drupal.Commenting.DocComment.TagGroupSpacing' coding standard 2020-05-20 17:11:54 -05:00
catch 8f7f02c661 Issue #3129508 by Lal_, daffie, Suresh Prabhu Parkala: Change multiple dirname()'s into a single dirname() with the use of the second parameter of dirname() 2020-04-23 17:15:14 +01:00
catch 5d457e37c5 Issue #3063887 by mondrake, alexpott, longwave, catch, xjm: Support PHPUnit 8 in Drupal 9, drop support for PHPUnit 7 2020-02-14 12:21:47 +00:00
Alex Pott 4cfaf1e679
Issue #3112829 by alexpott: Fix fails due to Generic.CodeAnalysis.EmptyPHPStatement.SemicolonWithoutCodeDetected due to recent dependency updates 2020-02-12 09:28:33 +00:00
catch 0cc1a138e8 Issue #3063182 by Spokje, Wim Leers, mondrake, Mile23: Remove PHPUnit 4.8 class aliasing BC layer 2020-01-21 11:12:21 +00:00
catch c9898ab9a9 Issue #2950132 by mondrake, alexpott, tom_ek, Gábor Hojtsy, Pasqualle, andypost, Mile23, larowlan: Support PHPUnit 7 optionally in Drupal 8, while keeping support for ^6.5 2019-10-14 14:26:26 +01:00
webchick 7471e595cb Issue #3086373 by heddn, Mile23, Mixologic: Build test framework cleanup: bootstrap and tests 2019-10-10 17:56:29 -07:00
Alex Pott 8524be362e
Issue #3031379 by heddn, Mile23, greg.1.anderson, Charlie ChX Negyesi, alexpott, Mixologic, jibran, catch, Lendude: Add a new test type to do real update testing 2019-10-04 23:09:55 +01:00
catch 50a6a9efc1 Issue #3060391 by mondrake, Mile23, Lendude, alexpott: Cleanup usage of PHPUnit 4.8 aliased classes 2019-08-23 10:05:21 +01:00
Alex Pott bed931bb31
Issue #3008870 by amateescu, kostyashupenko, mondrake, jibran, alexpott: Drop support for PHPUnit 4.8 once PHP 5 is no longer supported (8.8.x) 2019-05-24 11:43:45 +01:00
catch 43cb1b5cce Issue #3053363 by alexpott, Wim Leers, Berdir, mondrake, xjm: Remove support for PHP 5 in Drupal 8.8 2019-05-24 11:36:30 +01:00
Nathaniel Catchpole 154f282899 Issue #2849669 by alexpott, pwolanin, Munavijayalakshmi, dawehner: Fix \Drupal\Component\Utility\Unicode() because of the Symfony mbstring polyfill 2018-05-08 21:55:21 +01:00
Lee Rowlands 9ac4d54417
Issue #2926633 by alexpott, dawehner, Mile23, mglaman, Wim Leers, jibran, larowlan, Lendude, Berdir: Provide a script to install a Drupal testsite 2018-04-06 08:50:12 +10:00
Nathaniel Catchpole 065807745f Issue #2932606 by jibran, mpdonadio, alexpott, catch: Use PHPUnit 6 for PHP 7.0 / 7.1 testing 2018-04-03 12:41:33 +01:00
Alex Pott e81312ba48
Issue #2687711 by chriscohen, anavarre: Drupal PHPUnit tests currently NEED the profiles directory to exist 2018-03-13 13:36:06 +00:00
Nathaniel Catchpole 45cf042073 Issue #2937469 by alexpott, Mixologic: Automatic upgrade to PHPUnit 6 is dangerous 2018-02-07 22:43:24 +00:00
Nathaniel Catchpole 03fd77c842 Issue #2927806 by alexpott, mondrake, jibran, Mile23: Use PHPUnit 6 for testing when PHP version >= 7.2 2017-12-22 12:47:46 +00:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott 612665b15e Issue #2605664 by Torenware, Mile23, alexpott, Taran2L, neclimdul, Yogesh Pawar, mark.creamer, donquixote, dawehner, klausi: Align TestDiscovery and bootstrap.php's non-permissive loading of PSR-4 namespaces for traits 2017-02-02 16:37:31 +00:00
Alex Pott 73333c5b46 Issue #2070559 by Mile23: Harmonize PHPUnit and run-tests to both scan for themes 2016-08-18 15:00:25 +01:00
Alex Pott 765aa9e706 Issue #2499239 by Mile23, neclimdul, alexpott, jhedstrom, Mixologic, Crell, Xano, dawehner: Use test suite classes to discover different test types under phpunit, allow contrib harmony with run-tests 2016-06-24 18:36:21 +02:00
Alex Pott 6ab5a3aaa1 Issue #2715741 by Mile23, pfrenssen: Fix 'Drupal.Classes.FullyQualifiedNamespace' coding standard 2016-04-30 15:11:15 +01:00
Alex Pott 1b3ffe2ab8 Issue #2572707 by attiks, alexpott: Fix 'Drupal.Files.EndFileNewline' coding standard 2016-04-27 11:05:37 +01:00
Alex Pott ca48ed6d92 Issue #2469713 by dawehner, pfrenssen, alexpott, elachlan, Mixologic, larowlan, hussainweb, benjy, jibran, Wim Leers, isntall: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary 2016-04-07 12:25:35 +01:00
Alex Pott e8ae668964 Revert "Issue #2469713 by dawehner, pfrenssen, alexpott, elachlan, Mixologic, larowlan, hussainweb, benjy, jibran, Wim Leers, isntall: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary"
This reverts commit 9c9fae71c2.
2016-03-16 17:28:57 +00:00
Alex Pott 9c9fae71c2 Issue #2469713 by dawehner, pfrenssen, alexpott, elachlan, Mixologic, larowlan, hussainweb, benjy, jibran, Wim Leers, isntall: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary 2016-03-16 16:37:02 +00:00
Alex Pott 11d0d76ed3 Revert "Issue #2469713 by dawehner, pfrenssen, elachlan, Mixologic, larowlan, alexpott, hussainweb: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary"
This reverts commit e6f491d8f9.
2016-03-15 15:14:07 +00:00
Alex Pott e6f491d8f9 Issue #2469713 by dawehner, pfrenssen, elachlan, Mixologic, larowlan, alexpott, hussainweb: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary 2016-03-15 13:12:34 +00:00
Alex Pott 87cded8723 Issue #2631478 by neclimdul: bootstrap.php loader can show as changed global state 2015-12-12 01:02:55 +00:00
Alex Pott 7cf195dd5a Issue #2597814 by dawehner, Xano: Kerneltests are broken in phpstorm 2015-10-23 10:51:39 -07:00
Alex Pott 5bb2889d50 Issue #2536560 by Aki Tendo, stefan.r, damiankloip: Runtime Assertion unit and functional testing 2015-08-27 00:29:29 +01:00
Alex Pott d5821399fc Issue #2304461 by dawehner, neclimdul, naveenvalecha, jibran, tim.plunkett, phenaproxima, Xano, hussainweb, sun, hitesh-jain, amateescu, alexpott, daffie, Mile23, Wim Leers, larowlan: KernelTestBaseTNG™ 2015-08-18 01:25:27 +01:00
Alex Pott ef105e70b8 Issue #2498619 by pjonckiere, mpdonadio: Unit tests should use a default timezone other that UTC 2015-08-11 09:15:35 +01:00
webchick 81a6979058 Issue #2459155 by alexpott, pfrenssen, hussainweb, neclimdul: Remove REQUEST_TIME from bootstrap.php 2015-04-06 23:53:19 -07:00
Alex Pott 8b2f85b5c8 Issue #2458045 by webflo: Remove calls to core/vendor/autoload.php 2015-03-24 11:49:33 +00:00
Alex Pott 91c38c8f98 Issue #2328111 by dawehner, martin107, neclimdul: Replace most instances of the DRUPAL_ROOT constant with the app.root container parameter. 2014-11-17 12:20:57 +00:00
Dries ca85441da2 Issue #2260121 by sun: PHPUnit Tests namespace of modules is ambiguous with regular runtime namespace (+ Simpletest tests). 2014-09-05 12:40:22 -04:00
Nathaniel Catchpole 5e58da00e6 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-26 11:47:01 +01:00
Alex Pott 6d2ce628bc Revert "Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel."
This reverts commit cda051c425.
2014-06-05 12:53:24 -05:00
Nathaniel Catchpole cda051c425 Issue #2016629 by larowlan, neclimdul, sun, alexpott, jibran, ParisLiakos, donquixote, effulgentsia, msonnabaum: Refactor bootstrap to better utilize the kernel. 2014-06-05 11:30:04 +01:00
Alex Pott 65b30c0486 Issue #2247287 by donquixote: Drop automatic PSR-0 support for modules. 2014-06-01 16:20:56 -05:00
Alex Pott 3d5560b6c8 Issue #2252991 by neclimdul: PhpUnit tests for ModuleHandler. 2014-05-31 07:17:25 -05:00
Andreas Hennings 940e0dffb8 Issue #2083547 by donquixote: Implement PSR-4 for module-provided class files.
This affects class loading, plugin discovery and test discovery.

PSR-0 is still supported, and no module class files are moved yet.
2014-04-22 16:50:40 -07:00
Alex Pott f995135280 Issue #2025883 by iamEAP, Mile23, msonnabaum, Berdir: Fixed Drupal's PHPUnit bootstrap.php does not register module namespaces out of /core. 2013-10-03 07:30:07 +01:00
webchick 8121d1203a Issue #2038135 by RobLoach, donquixote, Crell, ParisLiakos, catch: Use the Composer autoloader to make everything simpler. 2013-09-02 12:53:23 -07:00
Alex Pott bc58322aae Issue #2036081 by ParisLiakos: Fixed DateTimePlusTest are failing in phpunit. 2013-08-28 02:12:12 +01:00