[haiku-gsoc] Re: unit-tests vs. test apps (was: Re: [HCD08] ICMP functional test)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Thu, 07 Aug 2008 13:49:01 +0200 CEST

<philippe.houdoin@xxxxxxx> wrote:
> > However I don't quite know where to do this. I mean,
> > I noticed there was a "tests" folder in src/, which contains 
> > several test
> > cases. Should I implement my own test cases in the corresponding 
> > folder?
> Yes, that's where every tests should be. 
> At first, it was supposed to contains only unit tests (CppUnit), but 
> it has evolved
> into the root folder for all kind of testing code, from CppUnit-based 
> ones to third-party
> test framework (netperf) and whatever collection of simple testing 
> programs.

I would be very much in favour of separating both again. Either have 
another top-level folder "unit-tests", or have different folders for 
them under "tests/" - I find the current mix a bit confusing.

Bye,
   Axel.


Other related posts:

  • » [haiku-gsoc] Re: unit-tests vs. test apps (was: Re: [HCD08] ICMP functional test)