Problem/Motivation

At the moment we have code without proper test coverage in themes. Without tests its very easy to break things so we should investigate which themes includes testable logic and then create child issues for each theme including testable code so that we will have test coverage also there.

Comments

joelpittet’s picture

Issue tags: +frontend

Asset removal may be a test we can get in there, but try to avoid writing checks for specific CSS classes as it would be a pain to make CSS changes as it would get a bit out of hand fast and lots of busy work fixing design decision changes.

@LewisNyman may have discussed this with me in the past, it would be nice to get his opinion on the matter.

davidhernandez’s picture

I agree that trying to test visual regression would be too much. If needed, we could test all the stuff in .info and .libraries. Make sure all the right assets are being loaded.

Do we consider this a major?

joelpittet’s picture

Category: Task » Plan
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs issue summary update

This needs a plan and some child issues or we should close this.

joelpittet’s picture

Version: 8.0.x-dev » 8.1.x-dev
Status: Postponed (maintainer needs more info) » Postponed

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

joelpittet’s picture

Assigned: Unassigned » lauriii
Status: Postponed » Active

@lauriii could you add a simple test plan to the issue summary? Assigned to you

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.