• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

FlashBuilder integration - compiling only the required test

Explorer ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

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?

TOPICS
FlexUnit

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines