WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37301, comment 2


Ignore:
Timestamp:
07/07/2016 10:18:49 AM (3 years ago)
Author:
Zuige
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37301, comment 2

    initial v1  
    1111You're right. The security aspects of such a feature have to be considered. This is not a small feature that can just be slapped on top of core and hope it works for most people. The feature needs a lot of careful thought about how to implement it in a safe manner.
    1212
    13 As for the not understading part, some good hosting providers already do provide an on-demand staging environment sandbox feature, similar to what the plugin does. In terms of UI, having a "sandbox for tests" is a fairly easy thing to understand even for the less technical user. Especially after something's gone wrong in a previous update.
     13As for the not understading part, some good hosting providers already do provide an on-demand staging environment sandbox feature, similar to what the plugin does. In terms of UX, having a "sandbox for tests" is a fairly easy thing to understand even for the less technical user. Especially after something's gone wrong in a previous update.
    1414
    1515I definitely agree that the way forward would be automatic tests for updates. However, proper visual regression / functionality acceptance testing (done in a headless browser) is hard and still requires a sandboxed test environment. Simply running a bunch of unit tests doesn't actually tell you if the site works the way the user expects.