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

Kaushal M kshlmster at gmail.com
Wed Aug 27 08:20:40 UTC 2014


I'll do that, if someone could point me to it. Is it on the community
wiki or in doc/ directory in the source?

~kaushal

On Wed, Aug 27, 2014 at 1:12 PM, Niels de Vos <ndevos at redhat.com> wrote:
> On Wed, Aug 27, 2014 at 12:21:56PM +0530, Kaushal M wrote:
>> Hi all,
>>
>> 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?
>
> Sounds good to me. Please make sure to update the documentation about
> writing test-cases in a few days, if nobody objects.
>
> Thanks,
> Niels


More information about the Gluster-devel mailing list