My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

ASTUce: ActionScript Test Unit compact edition

ASTUce is a regression testing framework inspired by the xUnit architecture.

This framework is intended for developers who wish to implement unit tests in ECMAScript (ECMA-262) and ActionScript 3.

Features:

  • work with any ECMA-262 compliant hosts
  • work with any ES4/AS3 compliant hosts
  • simple to install and to use
  • same API everywhere
  • code reflection
  • easily localizable
  • run your unit tests on the command-line (integrate with Ant, Maven, server-side, etc.)

Releases:

  • ASTUce v0.9 for AS3
  • ASTUce for JS/AS1/AS2
    • we decided to stop working on those versions to focus on AS3
    • if you need support or want to add features for those versions contributor spots are always open (and we will help)

News

follow ASTUce on Ohloh

if you use the framework and/or the command-line client please show it :)

FAQ

  • Why another AS3 xUnit framework ?
ASTUce exists since Flash 5, it started as an AS1/JS project, then was ported to AS2 and later AS3
  • Why I never heard about it before ?
because we sucks at PR / Marketing.
  • I want to contribute what should I do ?
please go to the Contributors page and fill the form.
  • Does it really run on the command-line ?
yes.
  • How can you make it run on the command-line ?
We extended the Tamarin project with redtamarin to produce cross-platform executables
that act like the Flash Player on the command line
and then we embedded the ASTUce AS3 library to produce an ASTUce executable.
  • But how do you load and execute the unit tests in the ASTUce executable ?
For a a SWF we extract the ABC and then load it in the Domain (or ApplicationDomain) dynamically, and run the tests from memory.
  • Does the ASTUce executable work with Ant ?
yes, here a basic example
<exec executable="./ASTUce" failonerror="true">
    <arg line="-s" />
    <arg line="-l:my-tests.swf" />
    <arg line="my.package.AllTests" />
</exec>

misc

the project owners can be contacted here: their username [at] gmail [dot] com

stats

Powered by Google Project Hosting