Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

256
Views
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.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

They were deprecated in 2014:

https://github.com/sebastianbergmann/phpunit/issues/1292

The new versions are in progress:

  • https://github.com/lstrojny/phpunit-dom-assertions
  • https://packagist.org/packages/phpunit/phpunit-dom-assertions
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!