[Gluster-devel] A suggestion on naming test files.

Kaushal M kshlmster at gmail.com
Fri Sep 5 04:39:15 UTC 2014


All,
Since I've had no objections to this idea, I'm going to update the
documentation with this.

Jeff, Could you explain what you meant by 'arranged into
subdirectories'? I didn't understand what you meant by that.

~kaushal

On Wed, Aug 27, 2014 at 5:07 PM, Jeff Darcy <jdarcy at redhat.com> wrote:
>> Currently we name tests associated with a bug with just the bug-id as
>> 'bug-XXXXXXX.t'. This naming doesn't provide any context directly, and
>> someone looking at just the name wouldn't know what it does.
>>
>> I suggest that we use slightly more descriptive names to the tests.
>> Lets name the tests as 'bug-XXXXXXX-checking-if-feature-Y-works.t'.
>> This provides just enough context to understand what the test is
>> trying to do from just the name.
>>
>> How do you all feel about this?
>
>
> It's an excellent idea.  While we're at it, it would also be nice if
> tests were arranged into subdirectories so that it's easier to find
> those that might be particularly useful for testing new code.
>
> BTW, it should be possible to write a script that would fetch the
> bug title from Bugzilla, which (properly mangled) could be a first
> guess at the new test name.


More information about the Gluster-devel mailing list