Everything about ...
Follow
Find tag "tdd"
99.0K views | +0 today
Everything about Flash
Everything about the Flash Platform
Your new post is loading...
Scooped by Nicolas Bousquet
Scoop.it!

.doAction( ) – How to mock a function in AsMock that returns void

Using AsMock to mock a result being returned from a function is quite common, however, how would you mock behavior on a function which returns void ? When unit testing a class, if we mock its depen...
more...
No comment yet.
Scooped by Nicolas Bousquet
Scoop.it!

Create FlexUnit Tests Quickly in IntelliJ IDEA | JetBrains IntelliJ IDEA Blog

Create FlexUnit Tests Quickly in IntelliJ IDEA | JetBrains IntelliJ IDEA Blog | Everything about Flash | Scoop.it
Do you know how to navigate from a class to its test and back again or how to create a FlexUnit test quickly with IntelliJ IDEA 11? Let me tell you.
more...
No comment yet.
Scooped by Nicolas Bousquet
Scoop.it!

Testing a Model Robotlegs EventDispatcher In FlexUnit | dougrdotnet

Testing a Model Robotlegs EventDispatcher In FlexUnit | dougrdotnet | Everything about Flash | Scoop.it
Example of testing a model mutator (setter) in a Robotlegs application using FlexUnit. The test example illustrates how to setup and test that the model data was updated.
more...
No comment yet.
Scooped by Nicolas Bousquet
Scoop.it!

Mockolate FlexUnit Setup Examples — Gist

// three way to use mockolate. Thanks @angerelle for finding and sharing this.//

more...
No comment yet.
Scooped by Nicolas Bousquet
Scoop.it!

Teoti Graphix, LLC » FlashBuilder 4.5 :: Getting FlexUnit to work with Mobile components

Maybe I missed this in the plethora of documentation of FlashBuilder 4.5, maybe it’s coming in the next free update but when I tried to run FlexUnit in the Flex Mobile Project, the IDE said FlexUnit is not supported in this version.

more...
No comment yet.