Do anyone uses PHPUnit on plugin development?
How can it be used for plugin unit testing?
Loosely related: What IDEs can be used for plugin development?
Thank you!
I'm under cygwin (windows linux-like environment), PHP 7.3.7, MyBB 1.8.30.
Why you need to use PHPUnit ? this is for big OOP Projects.
if you want test your plugins , you can write and test plugins on localhost.
PHP is interpreted language and dont have Native IDE , so you can use Editors depend your taste.
For example )
I Think "Visual Studio Code" The best in terms of features and plugins.
but I Love and coding php with notepad++.
Top Editor you can Test :
Sublime Text
Visual Studio Code
Atom
Notepad++
(2022-08-14, 12:13 AM)Mostafa.Shiraali Wrote: [ -> ]Why you need to use PHPUnit ?
As a learning exercise.
Quote:this is for big OOP Projects.
Good to know.
Quote:if you want test your plugins , you can write and test plugins on localhost.
PHP is interpreted language and dont have Native IDE , so you can use Editors depend your taste.
For example )
I Think "Visual Studio Code" The best in terms of features and plugins.
but I Love and coding php with notepad++.
I am using that same editor, and I'm used to it. Visual Studio Code smells of Microsoft. I'm not fond of them.
Quote:Top Editor you can Test :
Sublime Text
Visual Studio Code
Atom
Notepad++
I'll stick to Notepad++. Thank you for your reply.
Yes, I'm using PHPUnit with PHPStorm
not for MyBB projects but for commercial ones.
TDD and BDD are the best development methods.