You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WordPress installation support for 'local' plugin #32
Agreed regarding that the functionality works. Just need to complete the documentation and tests as you've noted and this is done! My last comment was more to note that this ticket is appropriately labeled/queued as per our workflow docs.
Unless I'm mistaken, it seems like the test approach defined here had in mind our original intent to run the site installation, which we moved away from. Setting import aside, what is there to actually test for 'wordpress support'? If there is something to test here, there should also be cases for drupal. I don't believe we currently have any test coverage specific to one platform (aside from config file writing).
To address the last comment by Tanner. We are considering this "done" when effectively an end-user can get to the WP site install screen and then effectively complete and installation given the database connection credentials. Similar to support for D7 and D8, I think it's wise that our tests can confirm it by getting the 200 response on the install page and prove the mysql connection is valid.
In the future, I think it would be helpful to actually step through a Drupal site profile install and WP install because there can be a variety of things that trip this up (db credentials are wrong, templates don't work, etc).
I'm pleased to report that it took all of 3 minutes from the time I finished this request to manually testing a successful WordPress install. I'm very happy about that :)
Now it's more about testing. We can either push the tests off to other tickets (example, the wp-config.php, describe, and import commands), or we can do more of an integrated test that actually runs ddev exec for drush and/or WPCLI and confirms an installation.
I would love to see a wordpress site added to our existing test coverage, preferably including an import (to check config functionality).
It seems like this could also be a great time to get explicit test coverage on the MySQL connection at sitename.ddev.local:3306, although perhaps the import tests we have for drupal7/8 for other sites do that well enough.
Activity
rickmanelius commentedon Mar 21, 2017
Unless I'm missing anything, this looks like we're in a fully actionable state.
beeradb commentedon Mar 21, 2017
This is actually already working based on the work in #27. At this point, we probably just need to define our testing approach and add test coverage.
rickmanelius commentedon Mar 21, 2017
Agreed regarding that the functionality works. Just need to complete the documentation and tests as you've noted and this is done! My last comment was more to note that this ticket is appropriately labeled/queued as per our workflow docs.
tannerjfco commentedon Mar 28, 2017
Unless I'm mistaken, it seems like the test approach defined here had in mind our original intent to run the site installation, which we moved away from. Setting import aside, what is there to actually test for 'wordpress support'? If there is something to test here, there should also be cases for drupal. I don't believe we currently have any test coverage specific to one platform (aside from config file writing).
rickmanelius commentedon Mar 30, 2017
To address the last comment by Tanner. We are considering this "done" when effectively an end-user can get to the WP site install screen and then effectively complete and installation given the database connection credentials. Similar to support for D7 and D8, I think it's wise that our tests can confirm it by getting the 200 response on the install page and prove the mysql connection is valid.
rickmanelius commentedon Apr 18, 2017
This looks like this ticket is mostly in a clean-up state. To confirm, I would like a manual test of spinning up a WordPress site using our WordPress repo (https://github.com/drud/wordpress) and then for testing purposes, like Drupal we just need to verify that we can get to the install screen.
In the future, I think it would be helpful to actually step through a Drupal site profile install and WP install because there can be a variety of things that trip this up (db credentials are wrong, templates don't work, etc).
rickmanelius commentedon Apr 18, 2017
I'm pleased to report that it took all of 3 minutes from the time I finished this request to manually testing a successful WordPress install. I'm very happy about that :)
Now it's more about testing. We can either push the tests off to other tickets (example, the wp-config.php, describe, and import commands), or we can do more of an integrated test that actually runs
ddev execfor drush and/or WPCLI and confirms an installation.rickmanelius commentedon Apr 19, 2017
Need feedback from either @rfay @beeradb @tannerjfco on what we want to do for an automated test (if anything). If nothing, this is complete.
beeradb commentedon Apr 19, 2017
I would love to see a wordpress site added to our existing test coverage, preferably including an import (to check config functionality).
It seems like this could also be a great time to get explicit test coverage on the MySQL connection at
sitename.ddev.local:3306, although perhaps the import tests we have for drupal7/8 for other sites do that well enough.tannerjfco commentedon Apr 19, 2017
Wordpress was added to the test sites for local plugin tests in #123. https://github.com/drud/ddev/blob/master/pkg/plugins/platform/local_test.go#L30
beeradb commentedon Apr 19, 2017
well then! I feel like we're probably pretty good on this, then.
rickmanelius commentedon Apr 19, 2017
Cool. So I'm assuming this tests a success load of the install page. We'll revisit the need to test working site installs later on.