Project

General

Profile

Actions

Bug #42846

closed

No tests found in class "TYPO3\CMS\Core\Tests\Functional\Resource\BaseTestCase".

Added by Philipp Gampe about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2012-11-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I run all test from core, then the first result is a warning:

Warning
Failure in test case Warning
File: /home/phil/git-clones/typo3/phpunit/PEAR/PHPUnit/Framework/Warning.php
Line: 104
No tests found in class "TYPO3\CMS\Core\Tests\Functional\Resource\BaseTestCase".
Memory leak: 106 KB Time: 0.0009 sec.

Missing feature in phpunit?

Actions #1

Updated by Andreas Wolf about 12 years ago

  • Category changed from Tests to File Abstraction Layer (FAL)
  • Status changed from New to Accepted
  • Assignee set to Andreas Wolf

I think we could maybe fix this by making the class abstract.

Actions #2

Updated by Helmut Hummel almost 12 years ago

  • Status changed from Accepted to Needs Feedback

Andreas Wolf wrote:

I think we could maybe fix this by making the class abstract.

@Philipp: Does this fix it for you? How do you execute the tests? With the backend module?

Actions #3

Updated by Philipp Gampe almost 12 years ago

I use the backend module.

However I think this was fixed in phpunit already, because I do not get the error any more.

Actions #4

Updated by Christian Kuhn almost 12 years ago

was fixed in phpunit, it now has a method called "classNameIsNonAbstractSubclassOfValidBaseTestCase", see phpunit commit ae36837d546164aefbffdf564e5e03ff78f77070 , issue #43127

Actions #5

Updated by Christian Kuhn almost 12 years ago

  • Status changed from Needs Feedback to Resolved
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF