Welcome Guest, Not a member yet? Register   Sign In
PHPUnit and CI4 issue
#1

1. I want to execute unit tetsing but when I run vendor\bin\phpunit it asks "How do you want to open this file?". I am using default phpunit.xml.dist file as phpunit.xml. 
[Image: ER-mTCTD25hChoZFYQfxwFoBO3WhU6-zRdy4mEbLf9t0gA]
Please help.

Thank you!
Reply
#2

Please Read:

CodeIgniter 4 User Guide - Testing
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(12-05-2022, 12:21 AM)I read the CI4 testing documentation. Also searched online why it ask to open a file instead running. also checked on phpunit documentation site. InsiteFX Wrote: Please Read:

CodeIgniter 4 User Guide - Testing
Reply
#4

Did you setup your code editor for phpuint?

I use PhpStorm and I had to set it up to use it.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB