Unit test coverage for base/touch |
||
Issue descriptionWe don't seem to have a way to "snapshot" web-exposed behaviors that are platform specific. LayoutTests expectations are good for web-exposed behaviors but they exclude platforms differences. One recent example: media query evals are platform dependent. The only layout-test we have (fast/media/mq-pointer.html) avoids platform differences by testing setters/getters only. As a result, a web-exposed regression in Android code ( Issue 672907 ) went unnoticed for 2+ months until it was in stable! For media-queries, we need to have platform-specific (or even device-specific) expectations somehow to catch such regressions in future. There could be similar cases for other tests. I see that global-interface-listing has Windows-specific expectations (through a virtual test suite). May be we should have more of these?
,
Dec 16 2016
Integration tests and device-specific tests are really burdensome to maintain. We need to weigh that against the benefit. This isn't really a major problem area justifying a new category of test, judging by the fact that this is the first time this happened in a couple of years. So I'd favor the pragmatic approach of "unit test coverage for the TouchDevice APIs".
,
Dec 14 2017
Still an issue Q4 2017 checkin
,
Jun 18 2018
Switching the bug title to the pragmatic option proposed in #c1. |
||
►
Sign in to add a comment |
||
Comment 1 by rbyers@chromium.org
, Dec 16 2016