Project

General

Profile

Actions

Task #2497

closed

Naming convention for test cases

Added by Alex Afanasyev about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Docs
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

I would like to propose a change in the naming convention for test cases. I really don't like that in NFD test cases called exactly like tested module. Alternative way was used in ndn-cxx (prepending test- prefix), but I don't like that either and it has not been consistently used. The main reason I don't like it because given the filename it is unclear that it is a test case, not implementation.

Recently I saw that in some projects the following naming convention is used: <tested-module>.t.cpp. That is, we still use name of what we testing, just appending .t suffix.

UnitTesting wiki page should be updated after a decision is made.

Actions

Also available in: Atom PDF