Project

General

Profile

Task #2497

Updated by Junxiao Shi about 9 years ago

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.

Back