Flex :: BUilding Project With Unit Testing On Cruise Control?
Oct 15, 2009
I have a flex application build with actionscript 3 on flex builder with unit testing on it using flexUnit4. I want to build this project on my cruise control and i don't know how?
View 3 Replies
Similar Posts:
Jan 26, 2011
I am developing an AS3 application which uses a Singleton class to store Metrics in Arrays. It's a Singleton because I only ever want one instance of this class to be created and it needs to be created from any part of the app. The difficulty comes when I want to unit test this class. I thought adding public getters and setters would enable me to unit test this properly and would be useful for my app. I have read that changing to a Factory pattern will enable unit testing or using Inversion of control. This would of course make it more flexible too. I would like to know of people's thoughts on this matter as there are SO many conflicting opinions on this!
View 1 Replies
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
Jul 10, 2010
I have a flex application written using PureMVC framework.Now,I want to write tests.We are using FlashBuilder 4.Is FlexUnit sufficient for testing? Are there any issues you have faced while writing tests?
View 1 Replies
Jul 9, 2009
I am writing a small flex application that will, eventually, call PHP services to perform its work. In the meantime, however, I would like to have it use local data in XML form to allow me to develop the Flex part independently of the data service.
What is the best way to do this? I want to emulate a service like this:
[Code]...
And invoke the service using issuerService.send(), populating my results as expected. How do I do this as though it were a RemoteObject instead, but keep my data local?
View 2 Replies
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
Jul 13, 2010
Is it posible to create a partial mock using mockito-flex?
View 1 Replies
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
Feb 5, 2011
What are the best unit testing frameworks or libraries for AS3 programming? Specifically for projects that do not involve Flex, only Flash.
View 1 Replies
Jul 4, 2009
I'm looking for a reliable mocking framework for ActionScript. I've been using mock-as3, but I'm annoyed with what I feel is a hack-ish solution for triggering events. There are other a few other reasons why I'd like to have some options, but not sure if I necessarily need to go into them. I've also looked into Mock4AS, but the interface appears to be cumbersome.
View 3 Replies
Jan 30, 2012
I want to override flash.display.Loader and to dispatch my own Event with a my owntarget.contentHow can i override Event.target?Property is read only"
View 2 Replies
Aug 26, 2010
I need to deploy my project automatically using cruise Control .
View 1 Replies
Feb 23, 2011
I am building a flex project manually in eclipse and want to know which heap is used during this process:The heap used to run eclipse mentioned in eclipse.ini or the JRE heap specified within the eclipse?
View 1 Replies
Mar 8, 2011
I've got a Flex 3 website. I've got a bug in my deep linking. For some reason, if another site links to my site, it shows the main content instead of the specific bit that should be show. So, if the link is for [url]...
I'd rather not debug this problem on the production server. Is there a way to make a page on my localhost with a link to my Flex project on my localhost?Link to Project on Localhost for Testing Purposes?
View 2 Replies
May 21, 2010
I am using FMS. But I use this only in locally. Are there any free flash media server services to test my project?
View 1 Replies
Jan 23, 2010
when I test my project in flash CS4, both the flash player and the authoring tool detect my keystrokes. Is there a way to make the authoring tool ignore key input while testing a movie, since I really only intend the key presses for the movie?
has anyone else found trace() to be much, much slower in CS4?
View 1 Replies
Jun 22, 2010
I am doing a video library. Each category has it's own XML files that feeds it data. Everything works great.However, when I Exported the Release Build. I noticed those XML files are gone(i.e. never got exported). I don't understand why. I need the video library to be dynamic so I can add or remove videos.Anyone know why those files are not exported along with the rest of the project. Like a setting in the preference that I need to fix?
View 1 Replies
Mar 2, 2011
Is it possible to build a flex 4 application that references or uses the flex 4 libraries (or any libraries that are compatible) without the project compiling them into the main SWF of the project.
So in a nut shell, I have a project and I want to load the flex 4 library from the server, is this possible? I've seen articles on compiler settings. Could this be the solution to loading the library from the server?
View 1 Replies
Nov 14, 2009
I'm building a project that dynamically loads external images and audio into it.The images in the external folder are numbered sequentially in the order they display as you click through them (1.jpg, 2.jpg, 3.jpg, etc). No problem.There is audio that is supposed to fade in a play with certain images. (1.mp3 fades in when 1.jpg is displayed.). No problem.Here's where it gets tricky... At least for me.Not every jpg has an audio file associated with it. The last audio that was triggered needs to keep playing until another jpg with cooresponding audio file plays, at which point the two audio files need to smoothly crossfade.1.jpg displayed => 1.mp3 fades in and plays.
(user clicks)
2.jpg displayed => 1.mp3 crossfades to 2.mp3.
(user clicks)
[code]........
View 5 Replies
Apr 20, 2005
I am building a project that loads 30 images in to empty movie clips. I want one of the images to apear on top randomly. What is happening now is that the first swf in my loop always shows up on top.Here is a link to waht i am doing:Here is some code i am working with:
Code:
// Random range
function randRange(min:Number, max:Number):Number {
[code].....
View 2 Replies
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
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
Nov 8, 2009
I'd like to make a series of components into a solid, consistently repeatable object. For example, suppose I have a "notification" template that I want to add to a notifications area every time something new happens. This template includes an icon (Image), text (label), and some space between these two things.
I want to take a template like that and make it so I can invoke it with a function like add_notification("icon", "text"). How would I go about doing that?
View 1 Replies
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
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
Jun 29, 2011
I have a flex mobile project and I want to convert it into web-based project. What is the best way to do it.
View 1 Replies
Jun 15, 2010
Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0:
Installed Created a multi-modular webapp project using flexmojo:
mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=RELEASE
with following options
groupId=com.test
artifactId=test
version=1.0-snapshot
[code]....
Parent pom has swc, swf, war as modules.
Dependency is war->swf->swc.
With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.
G:Projects est>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom
[code]....
Looks like its trying to download the project from maven's central repository instead of building it.
View 2 Replies
Apr 26, 2011
VB6 developers who have gone in to do maintenance on their applications that call flash.ocx are finding that they can no longer save their projects because of some change that was introduced by Adobe in the release following flash10e.ocx.ork around is given of uninstalling flash and installing any version on or before 100452. Because the applications still run fine until the developer tries to make a change and save the VB6 project, the scope of this problem has probably not been fully realized. For this reason, this issue will likely only gain momentum in the future.
I spent the morning contacting several people at Adobe and I discovered the only way apparently to get support for this issue is to open a "web case". From further research, what I understand a "web case" costs around $200 and with that price there is nothing telling me what comes with a "web case" I mean, if I were to buy one, would the problem be fixed or would they research it and say "I am very sorry but we are not going to fix that". If there is a guarantee that the problem will be fixed, then can Adobe establish a pool where the $200 cost can be shared by everyone who has the issue? That couldn't be more than a buck or two each because if you google this problem "System Error &H80004005 using flash.ocx" you will find about 5 pages of people reporting the problem
View 2 Replies
Feb 2, 2011
I basically need to scale an object up when the user rollsover the button which I have created dynamically already and I need to make sure the object is fully scaled up before I can allow the user to scale it back down again.Ive tried putting 2 tweens (x and yscale) into a function but not sure how to check if the tweens have finished. Im assuming if I check the function is complete it wont take into consideration the tweens may still be running.
View 0 Replies
Oct 20, 2009
I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?
View 6 Replies