Flex :: Flash Builder: Change Default Suite For Unit Tests?

Dec 7, 2010

What are the steps to change your default suite when running unit tests in Flash Builder 4 with PureMVC?

View 2 Replies


Similar Posts:


Flex :: Include Unit Tests In A Library?

Nov 24, 2009

I'm working on a general code library for ActionScript 3.0 called as3lib which includes several extensions to the core API and some useful functions. I've written several unit tests (using FlexUnit) to make sure everything is working correctly.

What is the best way to organize these tests in the library? Currently, I have all my code in src/ and my tests in test/ but I've set up a secondary Flex project to run the unit tests. I am also manually adding and removing the test files from the library when I want to run the tests.

Preferably one where the compiled library doesn't include the test files but I don't need two separate projects to test them.

View 4 Replies

Flex :: Continuous Integration - Run Unit Tests From The Command Line On Linux?

Mar 12, 2011

I am setting up a FlexBuilder build under Hudson/Jenkins on a Linux system. I want to execute our unit tests, but do it without using the standard GUI-based test runner.

View 1 Replies

Flash :: Unit Testing A Library With AsUnit In Flex Builder?

Mar 3, 2010

I've been trying to setup a working method for unit testing flex libraries using Flex Builder. i have tried setting up a standard flex lib project and using Ant to compile and run the units tests. But this means that when something does go wrong and I want to use the flex builder debugger I cannot do so.

So my next plan is to setup the library as a normal as3/flax/air app as I can use the concept of a main class to run the unit tests. I can then compile the actual library code using Ant.

I could also setup a separate companion project who's sole task is to run units tests on the lib. But this is a little awkward as each library now requires two projects to manage. How do other people develop flex libraries and use unit tests to test/develop/debug the code?

View 1 Replies

Actionscript 3 :: Change The 'Default Application' Class In Flex Builder 3?

Jul 26, 2009

When creating an Actionscript Project in Flex builder 3 an application class is automatically created and dropped in the root of your source folder. In my case my source folder is called src/.Is it possible to change the default application class to a class which is not directly in the root of the src folder? It seems when right-clicking on class files which are in sub packages the 'Set as Default Application' option is not selectable.Is this done on purpose by Adobe to enforce all pure AS projects to have their application class residing in the top-most package?

View 3 Replies

Flex :: Flash Builder 4 Standard Profiling & Unit Testing Alternatives

Mar 3, 2011

I want to profile and unit test my application in Flash Builder 4 Standard. Adobe says I need to upgrade to the Premium version but I can't pay the money they want right now.Are there any alternatives for unit testing and profiling?

View 2 Replies

Actionscript 3 :: Write Unit Tests For Dictionary

Jan 20, 2012

This is kinda related to my other question: flex dictionary bug? The HashMap has a method getValues() which returns an array of values:

[cODE]....

the loop for (var key:* in map) iterates the keys of the dictionary map, but it seems its implementation does it in some random way. What is the best way to write a test since I don't know what the array returned by getValues method will contain? I thought I could do it by calling the sort method, and compare the values, is there a better way to do it?assertEquals(map.getValues().sort(), "value A,value B,value C,value X,value Y,value Z");

View 1 Replies

Change Flash Builder Default Src Folder Name?

Apr 16, 2011

I know you can change Flash builders default "Main source folder" by right clicking on the project properties and going to the "Flex Build Path" ...but how do you change that by default for all new projects? I prefer the folder name "src_flex" rather than "src" when I create my projects.You can do this for PHP in "PHP>>New Project Layout" preferences but I don't see anything similar for Flash Builder or know if there's a (hidden) file I could edit to do this.

View 1 Replies

Change Default Editor In Flash Builder?

Jan 10, 2012

I'd like to be able to automatically open text files in my editor of choice from within flash builder when I right click, open with 'Default editor'.

Can't seem to find this in preferences.

View 1 Replies

Actionscript 3 :: Setting The Default Browser To Open Flex Apps In Flash Builder On Mac?

Sep 13, 2011

I just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?

View 1 Replies

Actionscript :: Flex : Change The Directory Name Used By Flash Builder 4.5?

Nov 11, 2011

I have a nicely working actionscript project in Flash Builder 4.5. However, I'd like to change the directory name that it sits in. Seems Flash Builder breaks if I manually change this directory name using the operating system. Is there a way to change this in Flash Builder so it doesn't get mad at me, or other workaround?

View 2 Replies

Flex :: How To Change Default's Mx:Form Layout

Mar 15, 2011

I need an horizontal layout on my forms, they look like this:

[Code]...

I'm very confused about the new Flex 4 architecture...

View 1 Replies

Flex :: Change Spark BorderContainer Default Height?

Sep 29, 2011

How to create horizontal layout container like HGroup but with border and border radius?In this example there is some default height:

<s:BorderContainer width="100%" borderWeight="2" cornerRadius="5">
<s:layout>
<s:HorizontalLayout/>

[code]....

I want it to have height of the heighest element in container. Like in HGroup. Add: Why is height for above example BorderContainer equal to 112 ?

View 2 Replies

Flex :: How To Skin Or Change Default Cursor (White Arrow)

Aug 19, 2009

How can I skin, or otherwise change, the default cursor (white arrow) displayed in a Flex application?

View 3 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex :: Convert Flex Builder 3 Project To Flash Builder 4

Oct 6, 2009

I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?

View 2 Replies

Flash :: Templates For Creative Suite CS5 Version?

Mar 2, 2011

I have the Creative Suite CS5 and Flash CS5 does not have the Quiz Templates option.
 
Yet, if you purchase the Elearning Suite 2, that version of Flash CS5 does have the Quiz Templates.
 
Is there anyway to get the Quiz Templates for my version of Flash CS5?

View 2 Replies

Flash 10 :: Change Default Package For Class?

Jun 30, 2011

When I export assests for actionscript the defaul package is empty it there change to change it? To each time I export library asset for actionscritp default value for class field will contain package?

ex.
Class: assets.MyClass

View 0 Replies

Professional :: Adobe ELearning Suite Flash Quiz Templates?

Oct 26, 2010

I tried to create some, such as "Drag and Drop" or "True and False." However, the instructions weren't adequate. I couldn't figure out what Adobe was telling me to do. I went online to Adobe, and tried to find tutorials.It seems, to me, that there Quiz Learning Interactions are included only in the version of Flash CS5 that comes with the e-Learning suite.

View 27 Replies

Flash :: Change Default Choice For Autocompleted Classes?

Feb 9, 2011

Sometimes there is a name conflict between classes in two different libraries, but I almost exclusively use one over the other. Unfortunately, the one I am using is not showing up as the first entry and I have to press the down arrow to pick it.

View 1 Replies

Flash :: Professional - Paper Part Of Creative Suite 5 Design Premium?

Feb 13, 2011

On my old computer (Windows XP) I was using Flashpaper to convert jpg files to swf files that can be panned and zoomed. It worked great for my website. Here is an example. [URL] I just purchased Adobe Creative Suite 5 Design Premium for my new computer (Windows 7). I was told that it included the ability of Flashpaper to create the pan/zoom swf files. I can't find this ability. Please tell me where it is located or that I need to purchase Flashpaper for my new computer. Please note, I use Photoshop, Illustrator and Dreamweaver, but the only Flash I use is the swf to pan and zoom via Flashpaper. Please keep this in mind when answering my question, i.e. I probably need specifics if the functionality is located in Flash.

View 1 Replies

Setting Up Functional Tests In Flex?

Apr 23, 2010

I'm setting up a functional test suite for an application that loads an external configuration file. Right now, I'm using flexunit's addAsync function to load it and then again to test if the contents point to services that exist and can be accessed.

The trouble with this is that having this kind of two (or more) stage method means that I'm running all of my tests in the context of one test with dozens of asserts, which seems like a kind of degenerate way to use the framework, and makes bugs harder to find. Is there a way to have something like an asynchronous setup? Is there another testing framework that handles this better?

View 3 Replies

Flex - Importing Flash Builder 4.5 Project Into Flash Builder 4.5.1?

Jun 27, 2011

I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.

[URL]

The project access a web server to retrieve data using JSON.

View 2 Replies

ActionScript 2.0 :: Change The Settings Of A Flash Movie - Default Will Be On Medium Or Low?

Nov 9, 2004

how do change the settings of a flash movie so that it's default will be on medium or low?

View 1 Replies

Flex :: Writing Integration Tests For App Using SqLite?

Jun 28, 2010

I want to write integration tests for a Flex application using pureMVC architecture.The back-end is sqlite.

View 1 Replies

Flash :: Flex - Migrating A Project From Builder 4.0 To Builder 4.5 Is Producing The Error "The Required Skin State 'disabledWithPrompt' Is Missing"

Nov 28, 2011

I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".

View 1 Replies

Professional :: Change The Default Publish Preview Player From HTML To Flash?

Jul 31, 2011

How can I change the default publish preview player from HTML to Flash in Adobe Flash CS5.5??

View 1 Replies

Flex :: Configure Eclipse To Run FlexUnit Tests Automatically?

Jun 8, 2009

I'd like to set up my projects in Eclipse to run FlexUnit tests everytime I save my work.

I found an example with JUnit here : [URL]

How would you do it? Is it possible to run FlexUnit tests without Flash Player?

View 3 Replies

Flex :: Unit Testing Event Handlers

Jul 24, 2009

What methods do you use to unit test event handlers, particularly if they require information from the event (such as mouse coordinates, or the target of the event)? Is the most common practice to just refactor the behavior into a method that does the lifting while the handler just extracts information from the event, or are there effective ways to simulate event dispatch in FlexUnit or Fluint?

View 1 Replies

Flexunit - Unit Test Flex Applications?

Jul 26, 2010

Flex is a client-side language and based on events. How can such events be mocked to allow unit testing?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved