Commit Graph

164 Commits (8e5cf185b87ee8317a9623493a96013be543f39f)

Author SHA1 Message Date
Nathaniel Catchpole 75dcf9af44 Issue #2870194 by alexpott, Mile23, jibran, larowlan, tim.plunkett: Ensure that process-isolated tests can use Symfony's PHPunit bridge to catch usages of deprecated code 2017-11-09 12:51:06 +00:00
Nathaniel Catchpole a16b7dd636 Issue #2869120 by penyaskito, Mixologic, Berdir: run-tests.sh ignores classes if they have whitespace before the declaration using --directory 2017-04-20 00:06:50 +01:00
Alex Pott 75f0c02a79 Issue #2850797 by maxocub, dawehner, alexpott: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x 2017-04-04 15:29:18 +01:00
Alex Pott fa4c50a86e Issue #2841948 by Mile23, dawehner: Modify run-tests.sh to show file paths of all discovered tests 2017-01-11 11:30:55 +00:00
xjm 1ac9846eac Issue #2829484 by vegantriathlete, 20th, xjm: Incorrect spelling of possessive "its own" in multiple comments 2017-01-05 07:26:27 -06:00
Alex Pott c80250661b Issue #2807271 by Mile23: run-tests.sh needs to output an exception to stderr for the testbot 2016-09-27 17:10:35 +01:00
Nathaniel Catchpole 1975fe0892 Issue #2804675 by alexpott, hideaway: Tests using TestDatabase class are stuck in an infinite loop in Windows (8.2.0-rc2 only) 2016-09-26 16:22:24 +01:00
Nathaniel Catchpole 8a5abfc0fa Issue #2791163 by alexpott, dawehner: Random automatic testing failures on SQLite with PHP 5.5 2016-09-16 11:35:51 +01:00
Alex Pott b8500a9310 Issue #2780093 by Mile23: Have simpletest, run-tests.sh enforce their dependency on PHPUnit 2016-08-25 11:04:13 +01:00
Nathaniel Catchpole 74d2937c1d Issue #2776071 by damiankloip, neclimdul, Mixologic: run-tests.sh does not return a non zero status when tests fail with exception 2016-08-11 11:49:54 +01:00
Nathaniel Catchpole 8658fc3baf Revert "Issue #2776071 by damiankloip: run-tests.sh does not return a non zero status when tests fail with exception"
This reverts commit b026909edb.
2016-08-04 21:21:30 +01:00
Nathaniel Catchpole b026909edb Issue #2776071 by damiankloip: run-tests.sh does not return a non zero status when tests fail with exception 2016-08-04 13:47:58 +01:00
Nathaniel Catchpole f90b3df951 Issue #2575725 by alexpott, lokapujya, rajeshwari10, Torenware, andrewbelcher, pashupathi nath gajawada, jonathan1055: Uncaught PHP Exception when selecting too many PHPunit tests in UI 2016-06-16 13:18:16 +01:00
Nathaniel Catchpole a1d5f88226 Issue #2687837 by alexpott: run-tests.sh --types does not work with --directory 2016-03-16 20:11:46 +09:00
Alex Pott 7e01fa5342 Issue #2680057 by alexpott, dawehner, isntall: Allow to not override the simpletest results on a new test run 2016-03-11 21:55:44 +00:00
Alex Pott 9683891396 Issue #2670978 by dawehner, isntall, jibran, alexpott: Allow to run just specific types when running all tests 2016-03-09 11:38:47 +00:00
Alex Pott dd13af2145 Issue #2655102 by edurenye: Run test --browser missing CSS and images 2016-01-25 18:24:28 +00:00
Alex Pott cc75430124 Issue #2605290 by sanduhrs, Mile23: Improve docs, coding standards for run-tests.sh 2015-12-21 13:17:15 +00:00
Alex Pott 37705f2a82 Issue #2189345 by benjy, sanduhrs, Mile23, joshtaylor, jbekker, klausi, sun, zaporylie, pfrenssen, jsacksick: run-tests.sh should exit with a failure code if any tests failed 2015-11-17 14:42:51 +00:00
xjm 20621c288b Issue #2580293 by alexpott, claudiu.cristea, Mixologic, catch, Fabianx: Patch having test with "PHP Fatal error" is marked as PASSED 2015-11-12 16:09:06 -06:00
Alex Pott 7d05e583e1 Revert "Issue #2510380 by Wim Leers, DuaelFr, mlewand, quicksketch, Reinmar, oleq: Images cannot be linked in CKEditor"
This reverts commit 2d342c0f63.
2015-11-03 17:27:58 +00:00
Alex Pott 2d342c0f63 Issue #2510380 by Wim Leers, DuaelFr, mlewand, quicksketch, Reinmar, oleq: Images cannot be linked in CKEditor 2015-11-03 15:15:57 +00:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
catch c1aa46fbe6 Issue #2567183 by dawehner, pfrenssen, hussainweb: Re-export all built-in configuration in core 2015-09-23 12:37:12 +02:00
Alex Pott e38ae9918e Issue #2527486 followup by rocketeerbkw: --browser in run-tests.sh broken 2015-09-13 12:21:04 +01:00
effulgentsia da501fe7ec Issue #2566319 by alexpott: run-tests.sh should have a non-HTML mode 2015-09-11 20:52:02 -07:00
Nathaniel Catchpole a42acf9965 Issue #2551981 by jthorson: Add --directory option to run-tests.sh test discovery 2015-09-03 21:37:42 +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
Nathaniel Catchpole a4e16d6e66 Issue #2527486 by alexpott: --browser in run-tests.sh broken 2015-07-06 16:16:24 +01:00
Alex Pott 300f14e860 Issue #2232861 by grom358, daffie, alexpott, larowlan, pfrenssen, hussainweb, pcambra, jibran, phenaproxima, moshe weitzman, nick_schuch: Create BrowserTestBase for web-testing on top of Mink 2015-04-12 12:08:53 +01:00
webchick 74c98d386d Issue #2465611 by alexpott: Fix --xml option in run-tests.sh 2015-04-04 15:29:59 -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 c42d69a15d Issue #2417727 by Berdir: Notice: Undefined offset: 1 in core/scripts/run-tests.sh on line 952 2015-03-13 15:33:04 +00:00
catch 95fe74d571 Issue #2406681 by tstoeckler, hussainweb, alexpott, ParisLiakos, almaudoh, tadityar: Add an autoload.php in the repo root to control the autoloader of front controllers 2015-03-11 08:31:22 +00:00
webchick 488f5584c9 Issue #2315791 by alexpott, cilefen, dawehner: Add functionality to open results in browser window to run-tests.sh 2015-03-07 12:45:08 +11:00
Nathaniel Catchpole ad2a66dec5 Issue #2422745 by alexpott: Reduce simpletest memory limit 2015-02-12 12:46:56 +00:00
Nathaniel Catchpole 77a6a2620b Issue #2421335 by alexpott: Using run-tests.sh with the --list option should not require a db (of any kind) 2015-02-06 15:29:51 +00:00
Alex Pott f46d6ad949 Issue #2358079 by pwolanin, Berdir: Require a specific placeholder format in db_query() in order to trigger argument expansion, and require explicit 'IN' parameter for conditions 2015-02-03 09:42:28 +00:00
webchick 4378277e19 Issue #2390749 by alexpott: run-tests.sh should allow single test methods to be run 2014-12-10 11:11:32 -08:00
Alex Pott 290712e156 Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh 2014-11-20 05:41:34 +00:00
Alex Pott a269fc2923 Revert "Issue #2189345 by sanduhrs, jbekker, joshtaylor, benjy, sun: run-tests.sh should exit with a failure code if any tests failed"
This reverts commit 1edfae732f.
2014-11-19 21:11:33 +00:00
Alex Pott ec7abdfb53 Revert "Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh"
This reverts commit cbc449b890.
2014-11-19 21:11:24 +00:00
Alex Pott cbc449b890 Issue #2376039 by znerol, Wim Leers, alexpott: Undefined property ContainerAwareEventDispatcherTest::results in run-tests.sh 2014-11-19 20:04:10 +00:00
Alex Pott 1edfae732f Issue #2189345 by sanduhrs, jbekker, joshtaylor, benjy, sun: run-tests.sh should exit with a failure code if any tests failed 2014-11-18 22:24:22 +00:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
webchick d3295bf1f4 Issue #2347493 by Sutharsan | bzrudi71: Fixed Writing test results leads to FATAL because of memory_limit. 2014-10-03 07:05:31 -07:00
webchick 2634b437c0 Issue #2343389 by ricardoamaro, Sutharsan: Fixed Drupal core testing fails to write results because of SQLITE limitation . 2014-10-01 01:11:18 -07:00
Alex Pott 86da882d4d Issue #2332071 by sun: Fixed Custom port in run-tests.sh --dburl is not parsed. 2014-09-09 12:44:19 +01:00
webchick 06adfe58db Issue #2310415 by cilefen, ednawig, TravisCarden: Fixed run-tests.sh does not handle the error when invalid test groups/classes are specified. 2014-08-28 23:38:35 -07:00
Alex Pott 8f04acbb77 Issue #2309221 by mikey_p: Drupal\Core\Datetime\Date should be renamed to DateFormatter. 2014-08-05 11:39:21 +01:00
Nathaniel Catchpole 6b93ac73a4 Issue #1285726 by kim.pepper, InternetDevels, alexpott, RobLoach: Remove XML-RPC. 2014-07-31 16:12:18 +01:00
Alex Pott 5783e08f16 Issue #2149197 by penyaskito, mikey_p, vijaycs85, herom: Replace format_interval with \Drupal::service('date')->formatInterval(). 2014-07-24 15:54:28 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07: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
Dries 41888bb26f Issue #2226301 by alexpott: Run-test.sh --repeat should work nicely with --concurrency. 2014-05-28 15:10:45 -04:00
webchick 39d126b2d0 Issue #2257427 by sun: Run-tests.sh builds + rebuilds two kernels from scratch for every PHP process. 2014-05-06 11:48:17 -07:00
Dries 2b9cec6dbe Issue #2176621 by sun, alexpott: Remove global . 2014-05-05 07:30:43 -04:00
webchick 340a0fa216 Issue #2225605 by znerol: Use request stack in form builder. 2014-05-03 22:26:42 -07:00
Alex Pott 8a56782390 Issue #2208475 by sun, Xano, Jalandhar, andrei.dincu: Move Settings into Drupal\Core\Site\Settings. 2014-04-25 20:13:44 +01:00
Alex Pott 000966e0dd Issue #2219009 by pwolanin: Improve DX of Settings class. 2014-03-24 09:51:28 +01:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
webchick 682c55045b Issue #1808220 by sun: Remove run-tests.sh dependency on existing/installed parent site. 2014-03-16 11:46:31 -07:00
Nathaniel Catchpole db460fe78b Issue #2171683 by sun, alexpott, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead. 2014-02-10 17:31:31 +00:00
Nathaniel Catchpole ec06f877a4 Revert "Issue #2171683 by sun, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead."
This reverts commit 91db25eba4. Broke web
tests.
2014-02-10 11:14:28 +00:00
Nathaniel Catchpole 91db25eba4 Issue #2171683 by sun, tstoeckler, larowlan: Remove all Simpletest overrides and rely on native multi-site functionality instead. 2014-02-10 10:36:12 +00:00
Nathaniel Catchpole bcc57baf0b Issue #1881582 by sun: Change configuration overrides to use $config instead of $conf. 2014-02-05 18:21:55 +00:00
Nathaniel Catchpole e373ebee34 Issue #2167109 by Berdir, sun, alexpott, ACF, acrollet, adamdicarlo, Albert Volkman, andreiashu, andyceo, andypost, anenkov, aspilicious, barbun, beejeebus, boombatower, cam8001, chriscalip, chx, cosmicdreams, dagmar, damiankloip, dawehner, deviance, disasm, dixon_, dstol, ebrowet, Gábor Hojtsy, heyrocker, Hydra, ianthomas_uk, japicoder, jcisio, jibran, julien, justafish, jvns, KarenS, kbasarab, kim.pepper, larowlan, Lars Toomre, leschekfm, Letharion, LinL, lirantal, Lukas von Blarer, marcingy, Mike Wacker, mrf, mtift, mtunay, n3or, nadavoid, nick_schuch, Niklas Fiekas, ParisLiakos, pcambra, penyaskito, pfrenssen, plopesc, Pol, Rok Žlender, rvilar, swentel, tim.plunkett, tobiasb, tsvenson, typhonius, vasi1186, vijaycs85, wamilton, webchick, webflo, wizonesolutions, xjm, yched, YesCT, znerol: Remove Variable subsystem. 2014-01-28 13:07:47 +00:00
webchick f3a7231356 Issue #2173335 by sun: Remove deprecated timer_* functions. 2014-01-24 18:07:30 -08:00
webchick 05e1a61d6c Issue #2150623 by dawehner, pwolanin, rfay: Subdirectory + Clean URLs failure: 6.x-3.x PIFR: 3 Failures in D8 test. 2013-12-09 19:53:47 -08:00
webchick 0286c14b25 Issue #2149977 by JStanton: Run-tests.sh no longer respects specifying a port with the --url option. 2013-12-07 23:51:26 -08:00
webchick 08eeef15db Issue #2132441 by chx, eliza411: Run-tests.sh --module is broken. 2013-11-22 15:59:11 -08:00
Nathaniel Catchpole 92f93a1cbc Issue #2004086 by dawehner, pwolanin, katbailey, tim.plunkett, vijaycs85, fabpot: The Request service must be synthetic. 2013-11-19 16:21:35 +00:00
Alex Pott f1ec2386a7 Issue #2129197 by dawehner: Testbot (run-tests.sh with --file) attempts to run non-test classes, fails. 2013-11-07 15:05:01 +00:00
Nathaniel Catchpole 13fe4f0674 Issue #2114727 by ianthomas_uk: Added Improve error message when using run-tests.sh with Testing module disabled. 2013-10-31 11:35:22 +00:00
Nathaniel Catchpole 04b4a96c8f Issue #2045931 by PerthSam152, LinL, adsw12, joelpittet: Replace all module_exists() deprecated function calls. 2013-10-16 13:18:18 +01:00
Nathaniel Catchpole 759dad87cb Revert "Issue"
This reverts commit cc84f3903c - bad
commit message.
2013-10-16 13:18:18 +01:00
Nathaniel Catchpole cc84f3903c Issue 2013-10-16 12:19:18 +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 5460c03e89 Issue #1856766 by chx, Berdir, heyrocker, kim.pepper: Convert file_public_path() to the new settings system (make it not configurable via UI or YAML). 2013-08-22 02:11:07 +01:00
Nathaniel Catchpole b4a88eddb8 Issue #2052995 by dawehner: Add a route to the frontpage. 2013-08-21 02:26:31 +01:00
Alex Pott b21943922d Issue #1888424 by katbailey, steveoliver, twistor, beejeebus, effulgentsia: Change notice: Make Drupal's URL generation logic available to HttpKernel, and minimize code repetition/divergence. 2013-06-06 09:14:16 +01:00
Nathaniel Catchpole d02b879b48 Issue #1991088 by alexpott: Fixed Test info not displayed for PHPUnit tests when using run-tests.sh. 2013-05-20 09:30:48 +01:00
webchick bf79cb0300 Revert "Issue #1948148 by jibran, YesCT: Fixed Update file permissions."
This reverts commit 13b929b667.
2013-03-27 09:04:35 -07:00
webchick 13b929b667 Issue #1948148 by jibran, YesCT: Fixed Update file permissions. 2013-03-26 22:04:50 -07:00
webchick 4cc0db2d26 Issue #1540136 by Rob Loach, Pete B: Simplify index.php by moving DRUPAL_ROOT to bootstrap.inc. 2013-03-16 23:36:36 -07:00
Dries 99d98c1927 Issue #1936806 by alexpott: Fixed run-tests.sh class and module options broken. 2013-03-08 09:05:32 -05:00
Dries f2743e8a2a Issue #1901670 by msonnabaum, kim.pepper, effulgentsia: Start using PHPUnit for unit tests. 2013-03-06 21:48:50 -05:00
webchick 0aa731a7e0 Issue #1825592 follow-up by sun, alexpott: Clean-ups to --repeat and --die-on-fail capabilities in run-tests.sh. 2013-01-30 13:54:14 -08:00
webchick 8e37c343ba Issue #1825592 by alexpott: Add --repeat and --die-on-fail to run-tests.sh to make random test failure diagnosis easier. 2013-01-24 12:06:49 -08:00
catch 4d0d5c5712 Issue #347988 by sun, Berdir, dawehner, Damien Tournoud, moshe weitzman: Move $user->data into own table. 2012-11-27 22:26:22 +00:00
webchick 7b88ea7ccf Issue #1808200 by sun: Fixed Unit test performance significantly decreased since system list config conversion. 2012-11-06 00:51:18 -08:00
catch afc4b89945 Issue #1706064 by chx, katbailey, effulgentsia, podarok et al: Compile the Injection Container to disk. 2012-10-22 10:14:49 +01:00
webchick 5efb185fbd Issue #1705748 by n3or, tim.plunkett, sun, xjm, boombatower: Convert simpletest settings to configuration system. 2012-09-04 13:20:31 -07:00
webchick aa9744b1bd Issue #1719530 follow-up by sun: SimpleTest hasn't been converted to CMI yet; add a stop-gap rename in conf array. 2012-09-02 16:08:23 -07:00
webchick de473408a6 Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase. 2012-09-01 21:50:06 -07:00
webchick bf5db8e3d1 Issue #1738318 by alexpott: Fixed run-tests.sh help incorrect after test class renames. 2012-08-18 18:26:49 +02:00
webchick 5819f5ed39 Issue #1719530 by tim.plunkett, sun: Add --keep-results flag to run-tests.sh. 2012-08-10 16:19:20 -07:00
Dries 26172602e0 - Patch #1719530 by tim.plunkett: Add --keep-results flag to run-tests.sh. 2012-08-10 11:18:47 -04:00