TYPO3 Flow Base DistributionPackagesApplications

Feature #308

Improved Test Search

Added by Malte Jansen over 7 years ago. Updated about 4 years ago.

Status:New Start date:2008-02-14
Priority:Should have Due date:
Assigned To:- % Done:

50%

Category:-
Target version:-

Description

Normally you just need to check the whole project only once.
Sometimes one file is to less.
So it would be cool to test a subcompoment/subpackage.

e.g.:
'T3_FLOW3CGL_Model_'

The search must end with an underline.

Perhaps not final solution, but a quick powerful solution.

Testing_ImprovedSearch_v1_trunk.patch Magnifier (1.5 kB) Malte Jansen, 2008-02-14 14:04

Testing_ImprovedSearch_v2_trunk.patch Magnifier (1.5 kB) Malte Jansen, 2008-02-20 00:23

Testing_v3.patch Magnifier (4.7 kB) Malte Jansen, 2008-10-28 21:59

History

#1 Updated by Malte Jansen over 7 years ago

After a discussion with Sebastian a more common version.
Now, the search string is compare with classname, so you just have to enter the first characters of a class, and all other classes starting with same string are also tested.

e.g. "T3_FLOW3CGL_Ch" will test all tests for the checks.

#2 Updated by Malte Jansen almost 7 years ago

I have adjusted this patch and included http://forge.typo3.org/issues/show/1649 too.

Additionally there is a small improvment, which saves 1-2 seconds (DuoCore 2,27GHz) with the FLOW3 Distribution. You'll same more time, if you have more packages included. Now no normal-class ending with Test will be running as test, which now might cause some problems in the Test-Enviroment.

Notice: With this patch it's also possible to run all tests in a certain namespace.

#3 Updated by Sebastian Kurfuerst about 4 years ago

  • Assigned To deleted (Sebastian Kurfuerst)

Also available in: Atom PDF