Noweh
Noweh

Reputation: 633

PHPUnit: how to test HTML structure output

I'm trying to test a HTML structure render.

I saw this method: https://phpunit.de/manual/3.7/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.assertions.assertTag

...But on the last version, it's obsolete.

What is now the best practice for this kind of verification ?

Best regards.

Upvotes: 4

Views: 918

Answers (1)

Related Questions