3 ms·
I dunno. Sometimes it seems that 90% of the complexity of making web apps is figuring out details, corner cases, and spooky action at a distance with CSS. For
by PaulHoule 3y ago
I dunno. Sometimes it seems that 90% of the complexity of making web apps is figuring out details, corner cases, and spooky action at a distance with CSS. For crying out loud, the CSS spec comprises 50 documents
https://www.w3.org/TR/css-2023/ https://www.w3.org/TR/css-2023/
It's one thing to test that element A has the right classes on it, it's another thing to test that a certain CSS selector that is sensitive to the context works correctly, that precedence rules work as expected, or ultimately the document "looks right".
- pphysch 3y agoCSS is (too) powerful but not inherently complex. It is often abused. Ultimately you will need real eyeballs to judge aesthetics. No argument there. But significant QA work can be automated with frontend testing frameworks.
- rerdavies 3y agoI've never been that impressed with the functional coverage you get from front-end-driven testing frameworks, at least those that drive views. Test that interface with models in the front-end, though -- priceless! And CSS is inherently complex, because the rules of precedence are fragile and easily broken.