2 Replies Last post: Feb 12, 2014 6:52 PM by Stephan Krauß  
Stephan Krauß Novice 168 posts since
May 30, 2011
Currently Being Moderated

Feb 12, 2014 6:31 PM

PhpUnit, No tests executed

Hello!

I began to occupy myself with phpUnit.
Here is my first test.

 

editor.jpg

When I start phpUnit I get the following result.

 

message.jpg

 

I get the message 'No tests Executed'.

 

Here is the configuration of PhpStorm.

 

1.: The include paths

include.jpg

2.: The configuration of phpUnit

 

settings.jpg

 

 

3.: General Settings

configurations.jpg

I work with Windows XP.
I use 'xampp' from 'http://www.apachefriends.org'.


What am I doing wrong?

Sincerely yours

Stephan Krauss
Andriy Bazanov Master 4,194 posts since
May 28, 2010
Currently Being Moderated
Feb 12, 2014 6:44 PM in response to: Stephan Krauß
Re: PhpUnit, No tests executed

Hi there,

 

All test files should have "Test" suffix -- default convention.

 

So .. instead of "card.php" it should be "cardTest.php".

More Like This

  • Retrieving data ...