| --- |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| layout: docpage |
| title: RoyaleUnit |
| description: A unit testing library for Apache Royale |
| permalink: /testing/royaleunit |
| --- |
| |
| # RoyaleUnit |
| |
| A unit testing library for Apache Royale |
| |
| ## What RoyaleUnit does |
| |
| RoyaleUnit is an extensible testing framework for ActionScript classes and provides extensions for working with the [Apache Royale](https://royale.apache.org/) Framework. The RoyaleUnit framework is used to automate unit and integration testing. |
| |
| ## Requirements |
| |
| Apache RoyaleUnit is designed to work with [Apache Ant](https://ant.apache.org){:target='_blank'}, a command-line tool which can drive processes described in build files as targets and extension points dependent upon each other. The Ant website provides an overview, documentation, and a free download of the Ant installer. |
| |
| ## Tutorials |
| |
| * [Create a unit test](testing/royaleunit/create-a-unit-test) |
| * [Run unit tests with Apache Ant](testing/royaleunit/run-unit-tests-with-ant) |
| |
| ## Reference |
| |
| * [Metadata](testing/royaleunit/metadata) |