← Back to team overview

dolfin team mailing list archive

Re: Changing naming of cpp unit test files

 

On 11 January 2012 09:47, Johan Hake <johan.hake@xxxxxxxxx> wrote:
> 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?
>

Sounds good.

Garth
>
>
> Johan
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References