Closed oliverbenns closed 4 years ago
Obviously I'm all for more testing. A question though... Do you often find you have bugs associated with the sections you mentioned? (e.g. meta title, this and that tag, and various assets are being loaded, 404 errors... etc.)
I think some of the page content that isn't visual can often get overlooked, and although this isn't always directly a requirement in the project, they are usually 5 minute fixes that can greatly help with page performance & SEO. By implementing tests into our Gulp stack, it will force us to do these small tasks (however tedious they may seem to some).
A couple of examples would be...
About | Www Foundation
, Contact | Www Foundation
we can ensure better Seo even if it hasn't been specifically requested.So to answer your question. They aren't bugs as such, they don't break the website, but the value these small details can add are considerably high.
The requirement for automated testing has never been so clear. With requirements for this tag and that tag, ensuring that all the various assets are being loaded, being aware of performance hits upfront will result in less mistakes and better code. This will ultimately serve our users better.
By opening this issue I hope to spark a discussion. So please leave your comments or suggestions!
Requirements
Quick Ideas
<meta>
.Tools
Implementation
Off the bat ideas...
gulp test
would be a separate task, running as part of the default task.'./dist/**/*.html', '!./dist/assets'
), loop through and do various tests.Resources