Skip to main content
Participant
Jan 10, 2011 10:02 AM UTC
Question

FlashBuilder integration - compiling only the required test

We have a large project and I'm looking into the best way of running Unit Tests on a specific class, without having to recompile the entire project. Is this possible with the FlashBuilder Premium integration?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Jan 10, 2011 9:47 PM UTC

Nope. It will recompile everything.

Here is what I would consider: Our ant tasks have an option to provide a source directory. When you do, they recurse, look for any .as class and, if it is a test, test it. You could probably just add to that to test a single class instead of a directory.

Then you would have what you want through ant,

Mike

Translate
Participant
Jan 11, 2011 9:15 AM UTC

Interesting, this looks like it could be the way forward. How does the task know which SDK to compile with, and what about more advanced compilation options (like

define, which we use occasionally for conditional compilation).

And, on the general subject, would it be possible to start FlashBuilder debugging from the ant script?

Translate