I am helping with an intro to HTML/JS class with one of my old college professors, and we have set up a CI pipeline that mimics our internal pipeline, so when the students commit code to gitlab, it triggers jenkins to build & then deploy their site.
I want to introduce them to TDD by having some "test" that looks for specific html tags, classes, etc where we give them the test as part of the assignment. Then they red/green/refactor.
We have been digging around trying to find some simple testing framework/tools for them to understand the test & start writing them, but have not seen anything that we think is starter enough. I am not interested in teaching them all that is involved in Codeception & I don't want something as involved as grepping through curl responses. In addition, I would like to have some HTML CodeSniffer/Validator to keep them coding to a standard.
Anyone have anything that they have used that you could point me towards?