oxpus wrote: ↑Sun Jan 02, 2022 8:29 am
DavidIQ wrote: ↑Sun Jan 02, 2022 12:07 amQuick Install already exists to help with setting up a phpBB environment quickly.
A lot of points can be tested automatically in an extension without having to use an expensive development environment like phpStorm.
For example CodeSniffer can be used in a more extensive test suite like it is currently done by EPV to find significantly more errors in extensions than in a manual validation process and these rules can also provide reliable results in a few seconds or minutes, too:
phpBB has already, through Github, provided an extensive test suite that while meant for phpBB developers, can be harnessed easily by extension developers, for free.
Every extension I write for myself (and our official phpBB one's) is tested on GitHub with:
- Unit testing to make sure every function performs as expected
- Functional testing to make sure the board performs as expected
- Code sniffer is run (courtesy of phpBB and using phpBB's ruleset)
- EPV is run, to make sure Validation rules are not violated
- ICC image profiler is run to make sure images are clean
- Executable files are checked to make sure there are none
- Additional integrations with Scrutinizer or Code Climate include many more PHP, CSS, and JS fixers and checkers too.
And these tests are run in Ubuntu, Windows environments on multiple versions of PHP 7 & 8, MySQL, MariaDB, Postgresql, SQLite3, MSSQL, etc. And in this forum we provide the
config file for your extension to harness all these Github Actions.
You can't really test it any more than that.
Also, if you can't afford PHPStorm, you can use VSCode which is free, and full of plugins that will help clean up mess, like removing empty spaces and newlines, using tabs over spaces, etc and integrating with dozens of code validators/sniffers. We have a topic in this forum listing
dozens of free code and IDE platforms.
As DavidIQ said, I'm not really sure what more you think we can do for you than that, but we are not going to try to build some kind of A.I. super smart extension tester validator robot
with all the tools we already provide and use as mentioned above.