Commit Graph

63 Commits

Author SHA1 Message Date
Nuno Maduro 2954247047
Fixes `APP_MAINTENANCE_DRIVER` value for testing 2024-01-22 16:29:40 +00:00
Nuno Maduro b191f9d086 Merge branch '10.x' 2023-12-27 16:52:21 +00:00
Nuno Maduro 9e3fbaa563
Uses `CACHE_STORE` instead of `CACHE_DRIVER` (#6302) 2023-12-27 08:16:46 -06:00
Dries Vints 5d93ebdb76
Revert "Fixes tests failing due database not available (#6297)" (#6299)
This reverts commit e15fbbe547.
2023-12-18 10:17:36 -06:00
Nuno Maduro e15fbbe547
Fixes tests failing due database not available (#6297) 2023-12-18 08:27:23 -06:00
Taylor Otwell 4705136d1b disable pulse for testing 2023-12-14 09:31:35 -06:00
Taylor Otwell f419821bd8 shorten directories 2023-06-30 10:18:14 -05:00
Benedikt Franke 6c1a39b5b3
Omit default values for suffix in phpunit.xml (#6210)
The values specified for `suffix` are their respective defaults and can be omitted.
2023-06-30 10:16:51 -05:00
Nuno Maduro 64685e6f20
Adds `phpunit/phpunit@10.1` support (#6155) 2023-04-14 09:03:05 -05:00
Nuno Maduro 99b1d97321
[10.x] Adds PHPUnit 10 support (#6052)
* Adds PHPUnit 10 support

* Reverts `noNamespaceSchemaLocation`

* Improves PHPUnit configuration file
2023-02-07 09:26:27 -06:00
Nuno Maduro b86a62a6b8
Reverts analysing routes folder as it causes issues with html coverage reporter (#5800) 2022-02-07 08:26:16 -06:00
Nuno Maduro e92f1e9729
[9.x] Analysis routes files test coverage (#5771) 2022-01-20 09:55:58 -06:00
Jason McCreary 9b93e0d2d4
Use <env> element (#5765) 2022-01-15 09:05:53 -06:00
Graham Campbell 53d14e51e0
[8.x] PHPUnit 9.3+ style code coverage config (#5368)
* PHPUnit 9.3+ style code coverage config

* Bumped minimum PHPUnit
2020-08-07 09:59:53 -05:00
Taylor Otwell 311c3f823a tweak phpunit.xml 2020-06-12 09:35:59 -05:00
Musa 0d23e5f761
[7.x] Normalize Style
See: https://github.com/laravel/framework/blob/7.x/phpunit.xml.dist#L14
2020-04-14 11:56:29 +03:00
Igor Finagin 5f9ee30e37
Disable Telescope in PHPUnit (#5277)
PHPUnit throw exception when Telescope is enabled
2020-04-09 11:03:28 -05:00
Taylor Otwell 3aa22403c7
remove empty line from phpunit.xml (#5245)
I'm not sure if there's a style rule for this, but it seems very out of place to be the only empty line in the whole file.
2020-03-04 16:45:31 -06:00
Maxime Willinger 7bea49b8ee
Use MAIL_MAILER in test environment (#5239) 2020-03-02 09:21:08 -06:00
Sjors Ottjes 8cece72598
Remove redundant default attributes from phpunit.xml (#5233) 2020-02-24 08:37:15 -06:00
Dries Vints f4b1dc6df0 [6.x] Implement integration test and in-memory DB (#5169)
* Use in-memory DB for testing

* Extend from PHPUnit test case for unit tests
2019-12-06 09:46:02 -06:00
Gert de Pagter 400df0b02b Add xml schema to phpunit (#5139)
This allows an IDE to do auto completion, and show any errors in the configuration
2019-10-16 08:18:19 -05:00
Tim MacDonald 42e864f3f5 remove testing bootstrap extension (#5107) 2019-09-13 07:19:06 -05:00
Sjors Ottjes 731cd4c499 add phpunit extension 2019-09-06 08:16:34 +02:00
Tim MacDonald 56960ed2a0
introduce test bootstrapping 2019-07-09 11:54:50 +10:00
Mior Muhammad Zaki 69bd1dceef
Use $_SERVER instead of $_ENV for phpunit.
Laravel 5.8 limits dotenv to only rely on $_SERVER and not $_ENV. See https://github.com/laravel/framework/pull/27462
2019-02-13 08:54:45 +08:00
Roberto Aguilar c40701e3da
Sort phpunit environment variables alphabetically 2018-10-27 02:44:54 -05:00
Chris Kankiewicz 1eb13c8600
Updated QUEUE_DRIVER env var to QUEUE_CONNECTION in phpunit.xml 2018-09-04 09:45:26 -07:00
Martin Heralecký b23f77fa60
delete trailing whitespace in phpunit.xml 2018-07-26 23:30:57 +02:00
Benedikt Franke 769dc6b96b
Switch execution order of testsuites, unit tests first
Unit tests usually run faster and provide more fine-granular feedback if something is broken. If some small part of the application is broken, it may easily cause all the feature tests to fail, while not providing useful feedback.
2018-06-18 09:27:59 +02:00
Roberto Aguilar dc320c8942
Set bcrypt rounds using the hashing config 2018-04-18 10:09:32 -05:00
Melek REBAI c53e15ab96
Set MAIL_DRIVER to array in phpunit.xml 2018-03-13 08:23:37 +01:00
Taylor Otwell d0ce75926f Merge branch 'master' into develop 2017-07-11 13:26:38 -05:00
Alexander Diachenko 6ad4df5c5a Simplify test suite names 2017-05-27 21:20:27 +03:00
Josh Manders d00fdbcd1b Fix phpunit. 2017-04-17 17:59:45 -05:00
Taylor Otwell 08eefbcc11 Organize tests. 2016-11-29 15:48:33 -06:00
Egor Talantsev 288e361aff Remove removed routes file 2016-07-30 12:02:46 +05:00
Graham Campbell 28ea52d10b Fixed up the phpunit config 2016-03-30 19:52:07 +01:00
Martins Sipenko 8ac73d90f2 Removed unused option 2015-10-07 14:19:49 +03:00
Martins Sipenko 19e97fc9db Added whitelist to remove warning for upcoming phpunit 4.8 2015-06-10 18:13:13 +01:00
Laurence Ioannou c4635187c7 Update phpunit.xml 2015-02-14 18:45:27 +11:00
Taylor Otwell 48d1a0ce36 working on some configuration changes. 2014-12-03 21:59:42 -06:00
Taylor Otwell 4301348646 Large refactor of HTTP and Console stack. 2014-10-20 11:14:41 -05:00
crynobone e084583077 Move PHPUnit to require-dev and fixes directory references to tests.
Signed-off-by: crynobone <crynobone@gmail.com>
2014-08-20 19:36:09 +08:00
Graham Campbell 753370615e Minor cs fixes 2014-03-15 10:14:55 +00:00
Taylor Otwell 9d3c3ea038 tweak how autoloaders are called. adjust phpunit bootstrap. 2013-01-23 23:33:47 -06:00
Taylor Otwell 5d99f9f1d6 moving laravel 4 into develop branch. 2013-01-11 15:14:07 -06:00
Franz Liedke 7e11bb7431 Delete phpunit.xml file.
Looks like that was committed accidentally.
2012-09-07 14:32:12 +02:00
Taylor Otwell 4e21cfce39 Fixing a double slash bug in URL generation with languages. add tests. 2012-09-01 22:07:01 -05:00
Taylor Otwell 70f586281f removing tests and vendor. 2012-03-27 15:50:33 -05:00