1 Reply Latest reply on Mar 19, 2007 11:56 AM by holmes_z06

    Separate Test and Source code

    holmes_z06 Level 1
      I'm creating a new Flex 2 project, and like any good developer trying to write some tests for it. In the past I've had to put my test classes in the same folder as my source code. I know it wasn't getting compiled into the project, but it's still nice to have them in separate folders.

      Is there any way to take care of this with Flex Builder 2?

      Thanks,
      Jason
        • 1. Re: Separate Test and Source code
          holmes_z06 Level 1
          I got it.

          My Flex Build Path includes my test folder. I can then reference it directly. Adds another source path to the main root, but it's just a link in the file system. That's ok with me. Unfortunately I have to leave the TestAll (my test runner in the main tree).

          So my path looks like...
          c:/dev/.../MyApp/main/main.mxml
          c:/dev/.../MyApp/main/TestAll.mxml
          c:/dev/.../MyApp/main/flex/com/.../player/Foo.as
          c:/dev/.../MyApp/test/flex/com/.../player/FooTest.as