D project structure

Atila Neves atila.neves at gmail.com
Wed Mar 26 22:29:30 PDT 2014


Since I use unit-threaded for my unit tests, I place them all in
a directory called "tests" at the root directory of the project.
I haven't written integration tests yet for any D project and was
wondering myself what I would do.

Mine might be a special case, I don't know who else uses a unit
testing library.

Atila

On Wednesday, 26 March 2014 at 16:13:15 UTC, Russel Winder wrote:
> Is it the case that the Dub recommended project structure is in 
> fact the
> canonical D project structure?
>
> The Dub recommended structure doesn't mention test code as 
> opposed to
> application/library source code, is it the case that the 
> assumption is
> that all tests are in the modules using built-in unittest and 
> that there
> are never any external tests?
>
> What about integration and system testing?
>
> cf. The canonical jvm language project structure is
>
> 	src/main/<language>
> 	src/test/<language>
> 	src/integtest/<language>
>
> Thanks.


More information about the Digitalmars-d-learn mailing list