Tutorial PHPUnit |
Site Admin
|
|
||||||||||||
_________________ The PHP IDE team |
|
I get this error:
Fatal error: Class 'PHPUnit\Framework\TestCase' not found in D:\unit\test\testEmail.php on line 6 |
||||||||||||
|
|
The tutorial is so useless.
PEAR is deprecated and it is not used anymore. |
||||||||||||
|
Site Admin
|
You can ignore that part related to PEAR, as it's indeed not used anymore.
As of the missed class, you can not run your test scripts directly. You have to open Test Suite window (F6) and run your tests from it. If it fails too, you have to go through the Project Settings Wizard. |
||||||||||||
_________________ The PHP IDE team |
|
[/img]
|
||||||||||||
|
Site Admin
|
what's about "Checking php installation in CLI (console) mode" page? Did it find any errors?
what's about phpUnit version it detected? |
||||||||||||
_________________ The PHP IDE team |
|
I have no idea.
PhpED generates php files. Then It says PHPUnit_Framework_TestCase is not found. At this point PhpED deletes all generated files. That's all. |
||||||||||||
|
Site Admin
|
Funny. You showed one page and don't wont to show another. What's the reason?
and no, I didn't ask anything about how PhpED works. |
||||||||||||
_________________ The PHP IDE team |
|
Don't worry. English is not my strength.
I'll make a video to all installation process. I am just a little tired trying to see how phpunit 8.3.4 works in PhpED. By the way! I am a newbie to phpunit. Now I try to learn it. |
||||||||||||
|
Site Admin
|
It's very unclear what you're doing.
In the beginning you posted "I get this error: Fatal error: Class 'PHPUnit\Framework\TestCase' not found in D:\unit\test\testEmail.php on line 6" A few hours later you posted a screenshot showing very different error occurred at a very different line in a very different file located on a different disk. I asked for screenshot of php test results but you didn't understand me. |
||||||||||||
_________________ The PHP IDE team |
|
I know it is unclear, because I never worked with phpunit. I want to learn it.
First I need to learn to install it. https://youtu.be/-kMSjHMBuRo |
||||||||||||
|
Tutorial PHPUnit |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by