Giter Site home page Giter Site logo

the-apache-sofware-foundation / flex-flexunit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/flex-flexunit

0.0 0.0 0.0 65.36 MB

Mirror of Apache Flex Flexunit

License: Apache License 2.0

Shell 0.20% JavaScript 26.34% ActionScript 62.51% Java 1.80% XSLT 0.15% CSS 1.32% HTML 7.69%

flex-flexunit's Introduction

Apache Flex FlexUnit

Apache Flex FlexUnit is a unit testing framework for Apache Flex and ActionScript 3.0 applications and libraries. It mimics the functionality of JUnit, a Java unit testing framework, and comes with a graphical test runner.

Getting the latest sources via git

You can always checkout the latest source via git using the following command:

git clone https://git-wip-us.apache.org/repos/asf/flex-flexunit.git flexunit
cd flexunit
git checkout develop

For further information visit http://flex.apache.org/download-source.html

Building Apache Flex FlexUnit

Apache Flex FlexUnit requires some build tools which must be installed prior to building FlexUnit and it depends on some external software which are downloaded as part of the build process. Some of these have different licenses. See the Software Dependencies section for more information on the external software dependencies.

Install Prerequisites

Before building FlexUnit you must install the following software and set the corresponding environment variables using absolute file paths. Relative file paths will result in build errors.

SOFTWARE ENVIRONMENT VARIABLE
(absolute paths)
Java SDK 1.6 or greater (*1)
(for Java 1.7 see note at (*2))
JAVA_HOME
Ant 1.7.1 or greater (*1)
(for Java 1.7 see note at (*2))
ANT_HOME
Apache Flex (*3) FLEX_HOME
  1. The bin directories for ANT_HOME and JAVA_HOME should be added to your PATH.

On Windows, set PATH to PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin

On the Mac (bash), set PATH to export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin"

On Linux make sure you path include ANT_HOME and JAVA_HOME.

  1. If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8 or greater.

If you use Java 1.7 with Ant 1.7, ant reports the java version as 1.6 so the JVM args for the data model (-d32/-d64) will not be set correctly and you will get compile errors.

Also if you use Java SDK 1.7 you may encounter SSL errors when downloading 3rd party files as part of the build process to fix this issue

On Windows, create an environment variable called ANT_OPTS with the value

  -Djsse.enableSNIExtension=false

On the Mac (bash):

  export ANT_OPTS="-Djsse.enableSNIExtension=false"
  1. FLEX_HOME should be set to a valid Apache Flex installation.

Software Dependencies

Apache Flex FlexUnit uses third-party code that will be downloaded as part of the Apache Flex FlexUnit build.

When you have all the prerequisites in place and the environment variables set, (see Install Prerequisites above), use

cd <flexunit.dir>
ant thirdparty-downloads

The Apache Version 2.0 license is in the LICENSE file.

The following dependencies have licenses which are, or are compatible with, the Apache Version 2.0 license. You will not be prompted to acknowledge the download.

jars

swcs

The following dependencies have licenses which Apache considers to be reciprocal licenses so you will be prompted to acknowledge the license before the software is downloaded to your system.

jars

Building Apache Flex FlexUnit

When you have all the prerequisites in place and the environment variables set, (see Install Prerequisites above), to build Apache Flex FlexUnit use:

cd <flexunit.dir>
ant

To clean the build use:

ant clean

To package the build use:

ant package

For information on setting up FlexUnit, creating tests, using FlexUnit with ant or continuous integration please see the FlexUnit section of the Apache Flex wiki.

https://cwiki.apache.org/confluence/display/FLEX/FlexUnit

Thanks for using Apache Flex FlexUnit. Enjoy!

The Apache Flex Project http://flex.apache.org

flex-flexunit's People

Contributors

aharui avatar blegros avatar chrisdutz avatar cpillsbury avatar cyrillzadra avatar destroytoday avatar evolverine avatar greg-dove avatar haraldradi avatar horixon avatar jadkins avatar jhabegger avatar justinmclean avatar nodename avatar pdilillo avatar piotrzarzycki21 avatar rduclos avatar vandermore avatar wolever avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.