Hi,

Our project structure looks like this:

Project
Project/branches
Project/tags
Project/trunk
Project/trunk/build
Project/trunk/build/debug
Project/trunk/build/release
Project/trunk/conf/debug
Project/trunk/conf/release
Project/trunk/docs
Project/trunk/lib (for external libraries)
Project/trunk/fla
Project/trunk/src
Project/trunk/src/com
Project/trunk/src/com/company
Project/trunk/src/com/company/Class.as
Project/trunk/test
Project/trunk/test/com
Project/trunk/test/com/company
Project/trunk/test/com/company/Class.as

And so on...

We have ANT tasks that compile the unit tests and can build debug and
release builds. We use the AS2LIB unit test tool.

Regards,
Christophe

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of erixtekila
Sent: woensdag 8 februari 2006 11:41
To: Open Source Flash Mailing List
Subject: Re: [osflash] [ANN] as2api 0.4 released

Hi,


I always did like Peter said.
BTW Christophe's approach is far better IMHO.

Anyhow, when you set a source folder in Eclipse, it won't be easy to 
mimic the directory structures for the tests.
src/
src/com/package/Classes
src/test/com/package/TestClasses ?

Cheers.
Le 8 févr. 06, à 08:22, Christophe Herreman a écrit :

> The approach we use, and which is probably most used, is with a "src" 
> and a
> "test" folder. In there we have the same package structure for our 
> classes.
> This makes the code and the tests well-organized and separated from
> eachother.
>
> regards,
> Christophe
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On
> Behalf Of David Holroyd
> Sent: woensdag 8 februari 2006 1:56
> To: [email protected]
> Subject: Re: [osflash] [ANN] as2api 0.4 released
>
> On Tue, Feb 07, 2006 at 01:44:58PM -0500, Keith Peters wrote:
>> If you are taking feature requests...
>>  I'd love to see an "ignore" tag. Particularly useful if your test 
>> case
>> classes are intermingled with your class code. Don't really need to
> document
>> my test classes. Either a tag within the class like so:
>>
>> /**
>>  * @ignore
>>  */
>>
>> Or a command line parameter to ignore, maybe by name with wildcard:
>>
>> As2api.exe ... -ignore *Test
>
> Some kind of extra command-line param sounds like a good idea.
>
> Do people generally keep test classes in the same src hierarchy as the
> code under test?
>
>
>> Nice product though. Installed and documented a large project this
> morning.
>> Worked like a charm.
>
>
> Thanks for the suggestion, and your positive comments!
> dave
>
-----------
erixtekila
http://blog.v-i-a.net/


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to