36 Commits

Author SHA1 Message Date
TomasVotruba
846237e20b phpunit: run defect first 2021-04-25 15:46:45 +02:00
Tomas Votruba
b8071fb7bc
Make use of inline parser over extreme node construction (#6145)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 17:34:49 +00:00
Tomas Votruba
163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages (#5837) 2021-03-19 21:29:10 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package (#5825) 2021-03-12 20:13:27 +01:00
Abdul Malik Ikhsan
40c54eb1f4
[PHPUnit] Migrate phpunit.xml configuration with --migrate-configuration (#5166)
* [PHPUnit] Migrate phpunit.xml configuration with --migrate-configuration

* 4 spaces and indent
2021-01-13 12:30:23 +01:00
Abdul Malik Ikhsan
c594dc540e
[Test] Add utils/ to whitelist test coverage (#5034)
* [Test] Add utils/ to whitelist test coverage

* back to on push trigger
2020-12-29 11:25:45 +01:00
Abdul Malik Ikhsan
acdc7ee6ee
[PHPUnit] Enable Coverage again (#5007)
* [PHPUnit] Enable Coverage again

* coverals

* try using pcov

* use code_coverage.yaml

* on pull request

* try with --testsuite main

* try create multiple suites and use phpcov to merge clover

* try create multiple suites and use phpcov to merge clover

* try create multiple suites and use phpcov to merge clover

* chmod +x ./phpcov.phar

* using --coverage-php for generate .cov

* surplus -

* debug

* tempoary disable collect test on utils

* try exclude packages/attribute-aware-php-doc/src/Ast/PhpDoc/AttributeAwareDeprecatedTagValueNode.php

* try exclude packages/attribute-aware-php-doc/src/Ast/PhpDoc/AttributeAwareDeprecatedTagValueNode.php

* try nimut/phpunit-merger

* using ./ for directory

* exclude directories

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* try run phpunit on explicit directory

* try using xdebug

* reverted even on push
2020-12-28 19:46:48 +00:00
Abdul Malik Ikhsan
eb1f9c5e32
reactivate coverage report (#4405) 2020-10-14 18:07:59 +02:00
Tomas Votruba
a31837679d
[PHP 7.4] Add null on conditional type of property type (#4394)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-12 16:34:28 +02:00
Tomas Votruba
a4b4b474cb
[SimplePhpDocParser] Init (#4391) 2020-10-11 12:40:45 +02:00
Tomas Votruba
ec28719c6c
make use of NodeConnectingVisitor + improve generate Rector docs (#3925) 2020-08-07 11:30:05 +02:00
TomasVotruba
fe72e003ed use constants in configs 2020-07-30 13:53:53 +02:00
TomasVotruba
2741893bbf [RectorGenerator] Refactoring to testable code 2020-07-29 20:50:31 +02:00
TomasVotruba
d6390a4845 phpunit: show less time trap items 2020-07-16 20:43:41 +02:00
TomasVotruba
bef11bd7be add speed trap 2020-07-02 15:06:18 +02:00
TomasVotruba
24d5f65811 remove speedtrap, not useful 2020-06-30 00:59:42 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
138598cc36 add inject in case of parent __construct 2020-06-24 19:15:45 +02:00
TomasVotruba
61aeeaeebd improve PHPStan rules for Rector 2020-05-03 15:02:18 +02:00
TomasVotruba
4aac338d20 improve ParamTypeDeclarationRector complexity 2020-02-11 14:11:47 +01:00
TomasVotruba
655edbe968 travis: cut down coverage time from 33 mins to 3 with phpdbg 2020-01-06 12:45:28 +01:00
TomasVotruba
da7e38528f uniquate test classes 2019-12-21 13:23:13 +01:00
Tomas Votruba
116399a830 small tests refactoring 2019-10-05 11:04:00 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
395dc9b2e9 [CodeQuality] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
a84586086b travis: simplify run set 2018-07-25 15:29:42 +02:00
Tomas Votruba
a6aa14477e Remove unused path from phpunit.xml 2018-05-30 11:40:40 +02:00
TomasVotruba
30d54c5f46 phpunit: fix required attributes 2018-02-23 11:26:18 +01:00
TomasVotruba
92ac1211d6 phpunit: add config validation 2018-02-23 11:26:11 +01:00
TomasVotruba
1693825465 merge 2018-02-23 11:25:49 +01:00
TomasVotruba
6d3b5d47fc travis: parellize for better peformance 2018-01-06 19:21:26 +01:00
TomasVotruba
4d00a74c3e phpunit - narrow config 2017-12-22 10:41:40 +01:00
TomasVotruba
97aa6df0a6 speedup tests 2017-11-10 23:14:17 +01:00
TomasVotruba
fec9201cc2 add /packages directory to static analysis check 2017-08-20 17:20:33 +02:00
TomasVotruba
764ce4bb08 init 2017-07-15 19:01:21 +02:00