Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests #5

Open
rebeccacremona opened this issue Jan 6, 2017 · 4 comments
Open

tests #5

rebeccacremona opened this issue Jan 6, 2017 · 4 comments

Comments

@rebeccacremona
Copy link
Contributor

Add grunt test task which includes link checking, html validation, and presence of jekyll build relics.

@rebeccacremona
Copy link
Contributor Author

(Actually, this is complicated: the html validator requires java8, which is not installed in this container. And, the link checker runs a headless browser, so a dev server of some sort needs to be running in the same environment. Hmmmmmm.)

@rebeccacremona
Copy link
Contributor Author

rebeccacremona commented Jan 13, 2017

(If deployment is going to happen via one's local machine, we could consider having the test run locally too.... ugly, but perhaps easiest. Then we could include the validator jar right in the repo....)

@rebeccacremona
Copy link
Contributor Author

Should also compare new sitemap against previous sitemap or live sitemap, to make sure urls haven't accidentally changed. Warning, not failure.

@bensteinberg
Copy link
Contributor

We're now running the prod build in Travis, followed by HTML validation with vnu.jar. Consider validating pages as served by the web server container; consider validating CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants