[asterisk-dev] Directory structure for testsuite

Tilghman Lesher tlesher at digium.com
Wed Dec 1 12:21:39 CST 2010

On Wednesday 01 December 2010 09:24:17 Paul Belanger wrote:
> Morning,
> I would like to propose a new directory structure for testsuite tests.
> Currently there does not appear to be a logic order to them.  One option
> is to break them out into functionality, similar to menuselect.
> tests/
>      app/
>          app_amd/
>          app_chanspy/
>          ...
>      cdr/
>      cel/
>      channel/
>          H323/
>          IAX2/
>          SIP/
>          ...
>      codec/
>      format/
>      func/
>      pbx/
>      res/
> Thoughts or possible alternatives?

Most of that seems fine, but I'd like to break some of the categories
encompassed within res out into their own top levels.  For example,
realtime and agi should both be top levels, as there is likely to be a ton
of tests in each, and they are logical units that people think of first.
Additionally, I would eschew the app_ prefix on application tests; the
only reason we have the prefix for modules is that on install, they get
dumped into a single directory.

Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-dev mailing list