Problem/Motivation
Tasks to do: Create an issue per group listed below. Try to work on one of those conversions.
Groups in progress
Ajax
#2862510: Convert system/tests/src/Ajax to JavascriptTestBase
./Ajax/AjaxFormCacheTest.php
./Ajax/AjaxFormPageCacheTest.php
./Ajax/AjaxInGroupTest.php
./Ajax/AjaxTestBase.php
./Ajax/CommandsTest.php
./Ajax/DialogTest.php
./Ajax/ElementValidationTest.php
./Ajax/FormValuesTest.php
./Ajax/FrameworkTest.php
./Ajax/MultiFormTest.php
Form
- #2867154: Form: Convert system functional tests to phpunit
- #2900291: Form: Convert system functional tests to phpunit Part 2
- #2941494: Deprecate SystemConfigFormTestBase and create kernel test version
./Condition/ConditionFormTest.php
./Form/AlterTest.php
./Form/ArbitraryRebuildTest.php
./Form/CheckboxTest.php
./Form/ConfirmFormTest.php
./Form/ElementsLabelsTest.php
./Form/ElementsTableSelectTest.php
./Form/ElementsVerticalTabsTest.php
./Form/ElementTest.php
./Form/EmailTest.php
./Form/FormStoragePageCacheTest.php
./Form/FormTest.php
./Form/LanguageSelectElementTest.php
./Form/ProgrammaticTest.php
./Form/RebuildTest.php
./Form/ResponseTest.php
./Form/StateValuesCleanAdvancedTest.php
./Form/StateValuesCleanTest.php
./Form/StorageTest.php
./Form/StubForm.php
./Form/SystemConfigFormTest.php
./Form/TriggeringElementTest.php
./Form/UrlTest.php
./Form/ValidationTest.php
Page/Routing/Render
#2982149: Routing: Convert system functional tests to phpunit
./Page/DefaultMetatagsTest.php
./Pager/PagerTest.php
./Path/UrlAliasFixtures.php
./Render/HtmlResponseAttachmentsTest.php
./Render/UrlBubbleableMetadataBubblingTest.php
./Routing/DestinationTest.php
./Routing/MockAliasManager.php
./Routing/MockRouteProvider.php
./Routing/RouterTest.php
./Session/SessionAuthenticationTest.php
./Session/SessionHttpsTest.php
./Session/SessionTest.php
./Session/StackSessionHandlerIntegrationTest.php
System
#2982150: System: Convert system functional tests to phpunit
./System/AccessDeniedTest.php
./System/AdminTest.php
./System/CronRunTest.php
./System/DefaultMobileMetaTagsTest.php
./System/ErrorHandlerTest.php - #2984072: System: Convert ErrorHandlerTest to phpunit
./System/FloodTest.php
./System/FrontPageTest.php
./System/HtaccessTest.php
./System/PageNotFoundTest.php
./System/PageTitleTest.php
./System/ResponseGeneratorTest.php
./System/ShutdownFunctionsTest.php
./System/SiteMaintenanceTest.php
./System/SystemConfigFormTestBase.php
./System/ThemeTest.php
./System/TokenReplaceWebTest.php
./System/UncaughtExceptionTest.php - #2863262: Bootstrap: Convert system functional tests to phpunit
Groups done 🎆
Bootstrap/error handling
#2863262: Bootstrap: Convert system functional tests to phpunit
./Bootstrap/ErrorContainer.php
./Bootstrap/ExceptionContainer.php
Common ¯\_(ツ)_/¯
#2863382: Common: Convert system functional tests to phpunit
./Common/AddFeedTest.php
./Common/AlterTest.php
./Common/EarlyRenderingControllerTest.php
./Common/FormatDateTest.php
./Common/NoJavaScriptAnonymousTest.php
./Common/RenderWebTest.php
./Common/SimpleTestErrorCollectorTest.php
#2955690: Move Common tests in system.module to BTB
Theme
#2863429: Theme: Convert system functional tests to phpunit
./Theme/EngineTwigTest.php
./Theme/EntityFilteringThemeTest.php
./Theme/FunctionsTest.php
./Theme/HtmlAttributesTest.php
./Theme/ThemeSuggestionsAlterTest.php
./Theme/ThemeTest.php
./Theme/TwigDebugMarkupTest.php
./Theme/TwigFilterTest.php
./Theme/TwigNamespaceTest.php
./Theme/TwigRawTest.php
./Theme/TwigTransTest.php
Batch
#2862885: Batch: Convert system functional tests to phpunit
./Batch/PageTest.php
./Batch/ProcessingTest.php
Cache
#2863318: Cache: Convert system functional tests to phpunit
./Cache/AssertPageCacheContextsAndTagsTrait.php
./Cache/CacheTestBase.php
./Cache/GenericCacheBackendUnitTestBase.php
./Cache/PageCacheTagsTestBase.php
./Cache/SessionExistsCacheContextTest.php
Database
#2872151: Database/DrupalKernel: Convert system functional tests to PHPUnit
./Database/DatabaseWebTestBase.php
./Database/FakeRecord.php
./Database/SelectPagerDefaultTest.php
./Database/SelectTableSortDefaultTest.php
./Database/TemporaryQueryTest.php
./DrupalKernel/ContainerRebuildWebTest.php
Installer (Hard)
#2907728: Installer: Convert system functional tests to phpunit
./Installer/ConfigAfterInstallerTestBase.php
./Installer/DistributionProfileExistingSettingsTest.php
./Installer/DistributionProfileTest.php
./Installer/DistributionProfileTranslationQueryTest.php
./Installer/DistributionProfileTranslationTest.php
./Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
./Installer/InstallerConfigDirectorySetNoDirectoryTest.php
./Installer/InstallerDatabaseErrorMessagesTest.php
./Installer/InstallerEmptySettingsTest.php
./Installer/InstallerExistingConfigDirectoryTest.php
./Installer/InstallerExistingDatabaseSettingsTest.php
./Installer/InstallerExistingInstallationTest.php
./Installer/InstallerExistingSettingsMismatchProfileBrokenTest.php
./Installer/InstallerExistingSettingsMismatchProfileTest.php
./Installer/InstallerExistingSettingsNoProfileTest.php
./Installer/InstallerExistingSettingsTest.php
./Installer/InstallerLanguageDirectionTest.php
./Installer/InstallerLanguagePageTest.php
./Installer/InstallerTest.php
./Installer/InstallerTranslationMultipleLanguageForeignTest.php
./Installer/InstallerTranslationMultipleLanguageKeepEnglishTest.php
./Installer/InstallerTranslationMultipleLanguageTest.php
./Installer/InstallerTranslationQueryTest.php
./Installer/InstallerTranslationTest.php
./Installer/MinimalInstallerTest.php
./Installer/MultipleDistributionsProfileTest.php
./Installer/SingleVisibleProfileTest.php
./Installer/SiteNameTest.php
./Installer/StandardInstallerTest.php
Menu
#2887099: Menu: convert system functional tests to PHPUnit
./Menu/AssertBreadcrumbTrait.php
./Menu/AssertMenuActiveTrailTrait.php
./Menu/BreadcrumbTest.php
./Menu/LocalActionTest.php
./Menu/LocalTasksTest.php
./Menu/MenuRouterTest.php
./Menu/MenuTestBase.php
Module
#2930072: Module: Convert system functional tests to phpunit
./Module/DependencyTest.php
./Module/HookRequirementsTest.php
./Module/InstallUninstallTest.php
./Module/ModuleTestBase.php
./Module/PrepareUninstallTest.php
./Module/RequiredTest.php
./Module/VersionTest.php
Update (hard)
#2870009: Update: Convert system functional tests to phpunit
./Update/AutomatedCronUpdateWithAutomatedCronTest.php
./Update/AutomatedCronUpdateWithoutAutomatedCronTest.php
./Update/ConfigOverridesUpdateTest.php
./Update/DbUpdatesTrait.php
./Update/DependencyHookInvocationTest.php
./Update/DependencyMissingTest.php
./Update/DependencyOrderingTest.php
./Update/FieldSchemaDataUninstallUpdateTest.php
./Update/FilterHtmlUpdateTest.php
./Update/InstallProfileSystemInstall8300Test.php
./Update/InvalidUpdateHookTest.php
./Update/LocalActionsAndTasksConvertedIntoBlocksUpdateTest.php
./Update/MenuTreeSerializationTitleFilledTest.php
./Update/MenuTreeSerializationTitleTest.php
./Update/PageTitleConvertedIntoBlockUpdateTest.php
./Update/RecalculatedDependencyTest.php
./Update/RouterIndexOptimizationFilledTest.php
./Update/RouterIndexOptimizationTest.php
./Update/SevenSecondaryLocalTasksConvertedIntoBlockUpdateTest.php
./Update/SiteBrandingConvertedIntoBlockUpdateTest.php
./Update/StableBaseThemeUpdateTest.php
./Update/UpdateEntityDisplayTest.php
./Update/UpdatePathRC1TestBaseFilledTest.php
./Update/UpdatePathRC1TestBaseTest.php
./Update/UpdatePathTestBase.php
./Update/UpdatePathTestBaseFilledTest.php
./Update/UpdatePathTestBaseTest.php
./Update/UpdatePathTestJavaScriptTest.php
./Update/UpdatePathWithBrokenRoutingFilledTest.php
./Update/UpdatePathWithBrokenRoutingTest.php
./Update/UpdatePostUpdateFailingTest.php
./Update/UpdatePostUpdateTest.php
./Update/UpdateSchemaTest.php
./Update/UpdateScriptTest.php
./Update/UpdatesWith7xTest.php
Image
#2862641: Image: Convert system functional tests to phpunit
./Image/ToolkitSetupFormTest.php
./Image/ToolkitTest.php
./Image/ToolkitTestBase.php
Entity
#2946419: Entity: Convert system functional tests to phpunit
./Entity/EntityCacheTagsTestBase.php
./Entity/EntityDefinitionTestTrait.php
./Entity/EntityFormTest.php
./Entity/EntityTranslationFormTest.php
./Entity/EntityUnitTestBase.php
./Entity/EntityWithUriCacheTagsTestBase.php
./Entity/Update/LangcodeToAsciiUpdateFilledTest.php
./Entity/Update/LangcodeToAsciiUpdateTest.php
./Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php
./Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php
./Entity/Update/SqlContentEntityStorageSchemaIndexTest.php
./Entity/Update/UpdateApiEntityDefinitionUpdateTest.php
Either in scope for Entity or as a followup for Entity:
\Drupal\comment\TestsCommentCacheTagsTest
| Comment | File | Size | Author |
|---|
Comments
Comment #2
dawehnerComment #3
klausiComment #4
dawehnerComment #5
martin107 commentedI'm going to start converting the image group stuff here...
Comment #6
martin107 commentedSplitting off batch stuff.
Comment #7
jofitzAdded #2863262: Bootstrap: Convert system functional tests to phpunit.
Comment #8
jofitzAdded #2863318: Cache: Convert system functional tests to phpunit.
Comment #9
jofitzAdded #2863382: Common: Convert system functional tests to phpunit and #2863429: Theme: Convert system functional tests to phpunit.
Comment #10
jhedstromAdded an issue for the form tests.
Comment #11
martin107 commentedAdded new sub issue AJAX
Comment #12
martin107 commentedajax issue already existed -- tidying up issue summary.
Comment #13
dawehnerComment #14
phenaproximaAdded #2872151: Database/DrupalKernel: Convert system functional tests to PHPUnit to the IS.
Comment #15
michielnugter commentedComment #16
martin107 commentedI am linking to a speculative issue - which would invalidate all the work queued here.
For me the killer argument is:-
If we want to welcome new JS developers into the community.
It is a turn off to force them to learn php.
So I think we should postpone this until the path ahead becomes clear.
Comment #17
dawehner@martin107 I agree with you. Can you please comment on the nightwatch issue about that?
I think though there are A LOT of issues in this plan which are independent from JS, if not most of them. There is no reason to block work based upon that.
Comment #18
lendudeComment #20
dawehnerComment #21
dawehnerComment #22
dawehnerComment #23
dawehnerComment #24
lendudeWith #2870009: Update: Convert system functional tests to phpunit in lets open up a new world of possible pain #2907728: Installer: Convert system functional tests to phpunit
Comment #25
Anonymous (not verified) commentedComment #27
jhedstromComment #28
Anonymous (not verified) commentedComment #29
mpdonadioComment #30
dawehnerJust rearranging the issue summary to make it more obvious what is left.
Comment #31
dawehnerComment #32
lendudeAdded issues for the two components that didn't have one yet.
Comment #33
ApacheEx commentedUpdated summary with resolved #2982150: System: Convert system functional tests to phpunit
For now, 121 tests to go: http://simpletest-countdown.org/
Comment #35
ApacheEx commentedMoved "Theme" tests to done
Comment #36
lendudeCommon and bootstrap are done
Comment #37
jonathan1055 commentedh1 title tags seem to render smaller than h4 (!?), hence I totally missed the 'Groups in progress' and 'Groups Done' major division. Changed to use h2 and h3, instead of h1 and h2.
Before:

After:

Comment #38
amateescu commentedHere's a new one if anyone is interested in a review :) #3016960: Convert Drupal\Tests\menu_link_content\Functional\LinksTest to a kernel test
Comment #39
lendudeThis is done! Crediting everybody because they were all involved in discussions of how to get this done at some point (maybe not on this issue, but definitely on Slack/IRC/DevDays/Child issues)
Thanks everyone, you rock!