Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

thePHP.cc:
Migrating to PHPUnit 6
Feb 03, 2017 @ 15:07:28

On thePHP.cc site there's a new post sharing what you need to know about migrating your PHPUnit installation up to PHPUnit 6 from previous versions.

The first version of PHPUnit 6 was released today. Today also marks the End of Life of PHPUnit 4. What does this mean for you? The answer to this question depends on which versions of PHP and PHPUnit you currently use.

They break the reminder of the article down into three sections:

  • what you'll need to change to update from PHPUnit 4
  • what you'll need to change to update from PHPUnit 5
  • what kinds of things come with PHPUnit 6 that "you'll want to use"

This last section includes updates like the changes to namespacing, having "risky" test checking enabled by default, deprecated APIs and the ability to export a log file JUnit will understand.

tagged: migrate phpunit6 tutorial phpunit4 phpunit5 features updates

Link: https://thephp.cc/news/2017/02/migrating-to-phpunit-6


Trending Topics: