Commit Graph
33 Commits
Author SHA1 Message Date
Nicolas Grekas a0cb2ea41f Get rid of config/bootstrap.php for 5.1 apps 2020-01-29 16:53:59 +01:00
KevinandGitHub a51bcbbcdc Align code coverage settings with documentation
After noticing slow coverage collection on our jenkins server for our symfony project, i noticed after some time that we were missing the on the whitelist configuration the processUncoveredFilesFromWhitelist attribute. I tried to backtrace why this configuration was missing and realized that this might come from the phpunit flex recipe. So here we go with the fix.

Fixes issues with slow coverage collection mentioned here:  
https://github.com/sebastianbergmann/phpunit/issues/2489  
Also the documentation already includes the configuration:  
https://symfony.com/doc/4.4/create_framework/unit_testing.html
https://symfony.com/doc/current/create_framework/unit_testing.html
2019-12-18 18:00:20 +01:00
Julien Falque 3132df947e Make use of the local phpunit.xsd 2019-09-30 23:07:22 +02:00
Massimiliano Arione ed4e5d9e31 fix phpunit documentation link 2019-08-04 12:52:38 +02:00
Grzegorz Korba 5aa9bdb9e4 Proper APP_SECRET default value
Since dollar sign represents S letter, `s$cretf0rt3st` does not make sense.
2019-07-02 08:11:16 +02:00
Fabien Potencier defdbd77e7 changed PHPUnit env to server 2019-04-01 16:05:38 +02:00
Gaiaz Iusipov 22ce0e4f98 Add ".phpunit.result.cache" to .gitignore 2019-03-17 04:31:42 +03:00
Nicolas Grekas f54d6a4684 Move src/.bootstrap.php to config/bootstrap.php 2018-11-22 16:07:00 +01:00
Nicolas Grekas f8ad0c194e Move silencing to phpunit.xml.dist 2018-11-17 07:17:12 +01:00
Nicolas Grekas 7ff50214ee Move loading .env files to bootstrap.php 2018-11-15 00:20:15 +01:00
Nicolas Grekas fe0e99324e Load .env.dist when it exists and .env is not found 2018-11-11 12:08:25 +01:00
Nicolas Grekas 95bb54353e Allow to override .env files per env 2018-11-09 14:22:38 +01:00
Victor Bocharsky 596639e660 Remove trailing and leading slashes for dirs 2018-01-25 10:06:16 +02:00
Chris WilkinsonandGitHub 47c82b1f3e Fix composer remove phpunit/phpunit command 2018-01-12 08:55:29 +00:00
Michael GwynneandGitHub a05048ed89 Update spacing for American English 2017-12-21 12:54:08 +00:00
Michael GwynneandGitHub 3e9f63adcf Using American English instead 2017-12-21 12:46:11 +00:00
Michael Gwynne e11054ec7e Updating notice wording 2017-12-20 12:19:38 +00:00
Grégoire Pineau 04b423be6b Fixed default phpunit.xml.dist: add filter/whitelist
If we don't do that, phpunit is not able to compute the code coverage.
We get the following error without it:

```
Error:         Incorrect whitelist config, no code coverage will be generated.
```
2017-12-06 17:36:54 +01:00
Nicolas Grekas b45a9da144 Bump phpunit to 6.5, discourage phpunit/phpunit more 2017-12-03 18:09:08 +01:00
Yoann Renard 9ef7fb9d46 Clean symfony from PHPUnit library 2017-11-28 15:10:31 +01:00
symfony-flex-server[bot]andGitHub 13bbebb259 Merge pull request #280 2017-11-26 19:09:44 +00:00
Nicolas Grekas 4e0800f3bc Set SHELL_VERBOSITY to "-1" (quiet) 2017-11-26 18:21:32 +01:00
Fabien Potencier d0777b3ca7 added a tests/ for for phpunit-related recipes 2017-11-26 09:13:33 -08:00
Nicolas Grekas aa3da47614 Prefer simple-phpunit over direct phpunit deps 2017-11-24 16:46:23 +01:00
Fabien Potencier a6c656f59c added default env vars for PHPUnit 2017-09-12 11:47:55 -07:00
Fabien Potencier 07a5c67ace removed version_aliases configuration setting 2017-05-20 09:32:06 +02:00
Maxime Steinhausser c32f3e581a [PhpUnit] Use the new KERNEL_CLASS var for KernelTestCase 2017-05-08 10:11:53 +02:00
Alex Rock Ancelet 16ae0ab94e Fix PHPUnit xsd version 2017-04-22 09:48:20 +02:00
Fabien Potencier 762417a826 added phpunit 6.1 support 2017-04-07 07:28:57 -07:00
Fabien Potencier a915693910 added support for recipes that work for several versions of a package 2017-04-06 09:57:16 -07:00
Fabien Potencier 8fd72f8a86 added version directories 2017-04-04 11:57:32 -07:00
Fabien Potencier ddd1db74c9 added some more aliases 2017-03-24 17:06:02 -07:00
Fabien Potencier afb8b0bc4b moved recipes to the root 2017-03-24 16:01:14 -07:00