← Back to team overview

dolfin team mailing list archive

Changing naming of cpp unit test files

 

Hello!

While adding a cpp unit test for Vector, I used the convention we have started 
on in the Python layer, where each file in theory should test the interface of 
one class. This does not fit with the way we automatically runn the tests, 
which more or less assume the name of the cpp executable is test_XX where XX 
is the particular sub directory (la, mesh, aso). 

I suggest we rename all cpp unit test files in the same way as we have for the 
Python interface. Then we prefix the executable with test_. My particular 
example would then generate an executable with name: test_Vector. To 
accomplish this we need to rename all test.cpp to SomeClass.cpp. The change 
would then be applied to both branches. 

Any objections?

Johan

Follow ups