Skip to content

merge 5.0.x from remote-tracking#1

Open
ahrezaldy wants to merge 83 commits intomasterfrom
5.0.x-remote
Open

merge 5.0.x from remote-tracking#1
ahrezaldy wants to merge 83 commits intomasterfrom
5.0.x-remote

Conversation

@ahrezaldy
Copy link
Copy Markdown
Member

No description provided.

Slamdunk and others added 30 commits July 12, 2020 12:58
Remove unused PHP-CS-Fixer, use config file for PHPCodeSniffer
Replace Travis-CI with Github Actions
Add static analysis with PHPStan
[GA] Tests: run with PCOV and SQLite
* Lint composer.json file

* Tools availabile from v2.4.0

* Specific version is the tag

* Tools must be specified, of course

* Composer normalize should run in dry-run to have an exit code feedback

* Normalize composer.json

* Normalize composer.json: ok, good boy
* Add Type Coverage report

* Forgot to commit PSalm added dep
Slamdunk and others added 30 commits August 5, 2020 09:03
* Use \PHPUnit\Util\Test::getGroups to gather groups from class::method

* Use \PHPUnit\Util\Test::getProvidedData to gather data from @dataProvider

* Use \PHPUnit\Util\Test::getDependencies to gather test dependencies

* Filter out classes/methods with no @group annotation
* Use only native PHPUnit test loader

* Fix directory separator usage
* Fix type hints dirtied by tests

* Extract RunnerWorker from ExecutableTest
* Allow PHPUnit 9.3

* Suggest warming coverage cache
* Simplify Runner process creation

* Remove unused Tester abstract class

* Cache PHP_CodeSniffer results

* Remove useless Tester\PHPUnit split from ParaTestCommand

* Moved all Options code to the class

* Options definitions inside Options class

* Ordered options

* Options: explicit getters instead of magic methods

* PARTIAL: OptionsTest ok

* PARTIAL: Tests adapted, coverage missing

* Coverage flag given by Options

* Symfony\Console 4 compatibility
* PHPStan level 7

* PHPStan level MAX

* PSalm level 3
* CS Fix: explicit variables in string

* CoverageMerger ok

* CoverageReporter ok

* TestCase / TestSuite refactor

* Writer ok

* --tmp-dir option; LogInterpreter ok

* Parser ok

* Util ok

* Options ok

* ExecutableTest ok

* SuiteLoader ok

* ResultPrinter ok

* Minor CC workaround

* SQLiteRunner + SQLiteWorker ok

* WrapperRunner + WrapperWorker ok

* Runner + RunnerWorker ok

* Fix tests for Windows

* Habitat is no longer necessary

* Refactor test to increase code-coverage
* GroupTest moved

* Warning tests moved, discovered exit code bug now fixed

* OutputTest subset of ResultPrinterTest

* Always set tmp-dir to TMP_DIR within tests

* Restore maximum CC

* Removed redundant tests

* Run token tests on all runners

* stop-on-failure already tested in RunnerTest

* Colors tested in ResultPrinter

* JUnit logging already tested in BaseRunner

* Tokens already tested in RunnerTestCase

* Move max-batch-size to Runner test, the only one able to test it

* SkippedOrIncompleteTest moved to RunnerTestCase

* Always show comprensible messages on process failure

* Fixed processes to ensure reliable code coverage

* CS Fix

* 100% CC

* Moved runner tests to RunnerTest

* No more functional tests; PHP_CodeSniffer activated on fixtures
* Enable coverage from XML configuration file

* Fix CC
* Print footer consistent with PHPUnit

* Fix CC
* CI: test compiled PHAR against a known passing suite

* Specify PHPUnit
* BaseRunner -> Writer $name

* Update BaseRunner.php

* Update BaseRunner.php

* Update BaseRunner.php

* Update BaseRunner.php

* Add tests

Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
…ading issues on Wrappers (#522)

* Refactor SuiteLoaderTest to not repeat SuiteLoader creation

* Execute tests with parent classes at the end to avoid PHPUnit test loading issues on Wrappers

* CC fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants