V
V
Vetal Matitskiy2015-12-02 10:55:52
HTML
Vetal Matitskiy, 2015-12-02 10:55:52

Are there unit tests to test html code?

Good afternoon, dear web gurus. Tell me, please, are there any analogues of unit testing for site markup? it is clear that there are all sorts of validators, but they only check for compliance with common html standards. but how to create tests that would check the html code I can’t find anything

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vitaly Musin, 2015-12-11
@vmpartner

Recently there was an article on Habré habrahabr.ru/post/272213

Y
Yaroslav Samardak, 2015-12-02
@yaroslav_samardak

One of the most popular methods is this , there is another option

I
inDeepCode, 2015-12-02
@inDeepCode

There is such a thing as Acceptance Testing. To check the performance of the product in general and HTML markup in particular, I recommend codeception

A
alex1442, 2015-12-02
@alex1442

phpunit has a built-in http client where you can access the content of the DOM.

O
Oleg Serykh, 2015-12-10
@seryh

I'll add more selenium here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question