leanphp/behat-code-coverage

v4 - long-term plans and goals

Opened this issue · 0 comments

ek9 commented

This is main issue to track the future of this package - v4.x
There has been a milestone made to track progress of v4.x: https://github.com/leanphp/behat-code-coverage/milestone/2

The goal of this issue is to present the current long-term plan towards v4.x release and hopefully gather feedback on the current features and get suggestions on what others consider important.

Main Goals

This is a list of main (but not the only) goals towards v4

  • Integration with phpunit / phpspec (this would very likely require BC breaking changes and would warrant a major version increase on it's own).
  • Simplify the architecture of the package - this is to improve the quality of code and at the same time reduce the entry level knowledge required to start contributing bugfixes and/or new features patches. This is not to say we will change things drastically, but merely improve some parts or better document the others (i.e. development docs)
  • Focus on using PHP 7.1 features (the last version of 3.x series would still provide PHP5 and PHP 7.0 support but besides bugfixes we will not actively maintain 3.x after 4.x is released).
  • Focus on supporting latest version of Behat, perhaps some parts of the extension could be improved / optimized
  • Make sure most parts of the code are properly tested (unit and functional tests where appropriate)
  • Better Document the code (PHPDoc)
  • Finish transition from vipsoft namespace as there are still some classes and namespaces to be changed (i.e. test classes).