1
0
Fork 0
composer/tests/Composer/Test/Command
Rober Díaz 4137bf38ad
Tests for base dependency command (#11547)
* add a test case for "not provided a required parameter"

* add a test cases for "not provided locked file"

* cleanup for case provider

* add a test case for "package existence"

* add a test case for "warning when dependencies are not installed"

* fix the test case for "warning when dependencies are not installed"

* add a test case for "package was not found in the project"

* add a test cases for `why-not` command

- also they were fixed docblocks

* add a test cases for `why` command

* versions were added to dependency objects

* it was avoided HEREDOC due it seems to be failing in PHP 7.2

* it was avoided mismatches due different platforms EOL

* it was used full output instead of an array of messages (to avoid EOL isues)

* it increased code coverage to 97%

* All test case docblocks were corrected according to CR feedback

* ensure that `why-not` should say that an installed package requires an incompatible version of the inspected package
2023-08-29 15:06:19 +02:00
..
AboutCommandTest.php Test for About command (#11078) 2022-10-12 14:22:28 +02:00
ArchiveCommandTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
AuditCommandTest.php Add "missing lockfile" test for the Audit command 2023-01-06 12:38:40 +11:00
BaseDependencyCommandTest.php Tests for base dependency command (#11547) 2023-08-29 15:06:19 +02:00
BumpCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
CheckPlatformReqsCommandTest.php Test json format on failed platform reqs (#11477) 2023-05-28 15:15:21 +02:00
ClearCacheCommandTest.php Added tests for Clear Cache Command. (#11066) 2022-10-12 17:19:58 +02:00
ConfigCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
DiagnoseCommandTest.php Fixup 2022-06-22 13:11:28 +02:00
ExecCommandTest.php #10796 Add test for ExecCommand (#11094) 2022-10-13 11:21:19 +02:00
FundCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
HomeCommandTest.php Add support for phpunit 10 (#11532) 2023-07-21 10:39:20 +02:00
InitCommandTest.php Added lots of new tests for `InitCommand` (#11106) 2022-10-13 10:39:51 +02:00
InstallCommandTest.php Add more tests for install command, refs #11277 2023-05-15 21:54:40 +02:00
LicensesCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ReinstallCommandTest.php Reinstall command test (#11502) 2023-06-23 09:47:36 +02:00
RemoveCommandTest.php Added tests for the Remove command 2023-01-06 12:38:47 +11:00
RequireCommandTest.php Fix require regression with --fixed, fixes #11247 2023-01-19 21:42:22 +01:00
RunScriptCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
SearchCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ShowCommandTest.php Fix trailing whitespace in 'composer show -N' (#11536) 2023-07-21 11:29:38 +02:00
SuggestsCommandTest.php Add support for phpunit 10 (#11532) 2023-07-21 10:39:20 +02:00
UpdateCommandTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ValidateCommandTest.php Docs: fix documention deep links (#11233) 2022-12-21 09:32:50 +01:00