- Local time
- Oct 5, 2019
After the amount of pages grows and I don't have to care about hosting anymore, thanks Netlify, my focus got to things like more accessibility, seo and so on.
Because testing all pages manually across all the tools out there I've started to create a little script that automates this.
Yesterday I've already shared a little sneak preview Daily success! .
Today I've dropped mochawesome (which is awesome by the way) and replaced it by a custom reporter which renders a swig template (Twig for JS).
So the HTML file is now tailored for this usecase. Now I can see the screenshot and the three most important ratings without clicking anything.
Right now I'm not happy to share the code because my domains are hardcoded, the package.json looks like 💩 and my source code is cluttered.
Is anyone interested in a free/usable version? And if so would you prefer an executable JS/node file? Or a package you can require and have to call yourself?
watchtower -u https://astrotomic.info -u https://webwide.io
const watchtower = require('watchtower'); watchtower.run([ 'https://astrotomic.info', 'https://webwide.io', ]);
And would you like to configure more than the list of domains? If so: what?
The template? Add new tests (other tools/APIs to check)?