Bug #18272 make tests addressable/ignorable at test granularity, instead of file gran'ty
Submitted: 16 Mar 2006 8:31 Modified: 23 Aug 2006 16:43
Reporter: Chad MILLER Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.2 OS:
Assigned to: Magnus Blåudd CPU Architecture:Any
Triage: D5 (Feature request)

[16 Mar 2006 8:31] Chad MILLER
Description:
We should be able to add/run/ignore individual tests, instead of whole test-files that contain many tests.

Any individual test should be addressable by a name.

This bug should involve changing the test runner, and not any particular test files, except perhaps only as a demonstration of functionality.

How to repeat:
*

Suggested fix:
A simple means would be to choose some way of delimiting tests by some string.  Since so man of our tests so far begin with (regex) "^#\s*[Bb]ug[:# ]*(\d)", that might be a good starting point. The text following that regex and before the next match could be called "bugNNN".

Or, we could pick a different delimiter, since not all tests have bug numbers.  

Some tests and files presently have no usable text descriptions.  We can edit/split those manually later, all at once.
[3 Aug 2006 10:53] Magnus Blåudd
I don't think we will ever get to do this one.