How can you run AsUnit test runner from Ant?
I’m on the Mac OS so I use:
open -a "flash player" tests.swf
How can I make this cross platform?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a target that will compile the tests into a swf and run them. The tests are run using the exec task. This version uses the open command from the Mac OS.
For Windows I can only think of using a property set to the complete path to the Flash player exe and using that to run the tests.
Here’s the properties: