Feature #308

Improved Test Search

Added by Malte Jansen over 11 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Target version:
-
Start date:
2008-02-14
Due date:
% Done:

50%


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 View (1.52 KB) Malte Jansen, 2008-02-14 14:04

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

Testing_v3.patch View (4.68 KB) Malte Jansen, 2008-10-28 21:59

History

#1 Updated by Malte Jansen over 11 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 over 10 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 almost 8 years ago

  • Assignee deleted (Sebastian Kurfuerst)

Also available in: Atom PDF