{"id":13744112,"url":"https://github.com/connorjclark/as3unit","last_synced_at":"2025-07-21T18:35:32.667Z","repository":{"id":26725878,"uuid":"30183395","full_name":"connorjclark/as3unit","owner":"connorjclark","description":"A unit testing framework for ActionScript 3","archived":false,"fork":false,"pushed_at":"2015-02-09T05:49:00.000Z","size":288,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T21:11:21.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/connorjclark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T11:08:06.000Z","updated_at":"2021-12-16T21:24:12.000Z","dependencies_parsed_at":"2022-07-10T13:16:37.927Z","dependency_job_id":null,"html_url":"https://github.com/connorjclark/as3unit","commit_stats":null,"previous_names":["hoten/as3unit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/connorjclark/as3unit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorjclark%2Fas3unit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorjclark%2Fas3unit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorjclark%2Fas3unit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorjclark%2Fas3unit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connorjclark","download_url":"https://codeload.github.com/connorjclark/as3unit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connorjclark%2Fas3unit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502121,"owners_count":23618554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:03.269Z","updated_at":"2025-07-21T18:35:32.651Z","avatar_url":"https://github.com/connorjclark.png","language":"ActionScript","readme":"# AS3Unit\n\nAS3Unit is a unit testing framework for ActionScript / Flash.\n\n  - Automate your unit testing\n  - Minimal set up\n\n### Installation\n\nIn order to use AS3Unit, you need the following installed on your system and in your ENV variable:\n\n- [Ruby](https://www.ruby-lang.org/en/downloads/)\n- [Adobe Flex](http://www.adobe.com/devnet/flex/flex-sdk-download.html)*\n \n##### *extra step\n\nIf you have a 64-bit Java installation as your system's default, you need to do an [extra step](http://tipila.com/tips/79/cannot-find-jvm-error-in-mxmlc-windows-64bit). Simply install a 32-bit version, and add the following line to flex_home/jvm.config:\n```\njava.home=location of your 32-bit java installation\n```\n### Integrating with your project\n\nNow, pull the latest version of AS3Unit's .git repo, and type this in the command line:\n```\nruby build.rb\n```\n\nThis will create a folder called flash-unit-release. You can place this folder in the root directory of your Flash project. In the same folder as flash-unit-release is where you should keep your test directory. To run your tests, enter the command line from your project's directory (if viewing the folder in Windows, a nice shortcut is Alt+D, type 'cmd', enter), and type:\n```\nruby flash-unit-release/test.rb\n```\n\nVoila! Your browser will launch and the test results will be on display.\n\nIf you wish to keep the tool packaged in your project's repo, add these items to add to your .gitignore:\n```\nas3unit.swf\nas3unit.js\n```\n\nOtherwise, add this:\n```\nas3unit-release/\n```\n\n### Writing tests\n\nCheck out the [tests](test/) for AS3Unit to get an idea of how to make a unit test in AS3Unit. A quick rundown:\n * Put all of your tests in a directory called tests/ in the SAME FOLDER as the directory as3unit-release/\n * Every class in tests/ will be run as test cases. For your test case, extend TestCase.\n * Only methods starting with 'test' will be run\n * The available assert methods are like those in any other unit testing framework.\n * ex: assert, assertFalse, assertEquals, assertSame, assertNotEquals, assertNotSame, fail\n * helper methods: setUp, tearDown, setUpClass, tearDownClass. Simply define them in your test case, or don't. AS3Unit doesn't care.\n\n### Development\n\nWant to contribute? Cool! I highly encourage a TDD approach for the development of this tool. If you wish to contribute by adding *new features*, do so in a TDD manner! :)\n\n### Todo's\n\n - Make build / test scripts platform agnostic\n - Mocking\n\n### License\n\nApache License, Version 2.0\n","funding_links":[],"categories":["Frameworks"],"sub_categories":["Unit Testing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorjclark%2Fas3unit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorjclark%2Fas3unit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorjclark%2Fas3unit/lists"}