Interesting question, i think.

You could achieve it by the convention only to commit code, which passes all the tests. If you update your codebase in the morning, and run the tests too, and they break, you can assume, that the last commit wasn't ok. Additionally you could arrange it so people have to commit a testprotocol too.

To achieve the same using technology, we would need to automatically compile all tests on the fly, run them and write the results back into some file. This would take some executable, which wraps the flashplayer and enables the test.swf to write to the filesystem. Additionally you need a new TestRunner class, which does just that, collect the results and writes them to a file.

The main problem i can see with the technological approach, is to create and keep up to date all this different tools for your server's os. I'd rather go with convention.

Cheers,
Ralf.


Benjamin Jackson wrote:
Well...

If something breaks, I want to know about it. So yeah, I guess postprocessing is a part of it. So is running all the regression tests after each commit so that I know immediately which commit broke the build (and more importantly, who will be paying for takeout the next day) . And being able to integrate running the tests with a package like ant or rake (my personal fav) seems like it would require this as well. What do you think Ralf?

- Ben


On Aug 25, 2005, at 6:41 AM, Ralf Bokelberg wrote:

what exacly are your trying to achieve?
postprocess the results of the tests?

Cheers,
Ralf.

Benjamin Jackson wrote:

Is it possible to run AsUnit from the command line? This is a big necessity for anyone doing continuous integration automation. Cheers,
Ben
On Jun 6, 2005, at 2:44 PM, Luke Bayes wrote:

Hey Everyone,

Just wanted to get a shout out to let you all know that the latest
version of AsUnit has been released.

You can download it here: http://www.asunit.com

This marks the first official release of AsUnit that fully supports MTASC!

AsUnit continues to be the only open source unit test framework for
ActionScript development!

AsUnit is also the only unit test framework that works with ALL
ActionScript 2.0 development environments, including Flash MX 2004,
Eclipse, FLEX, MTASC, and Central. This framework allows developers to
execute their tests and see results from a stand alone player, all
browser-based players, and even from within Macromedia Central.

Please download the latest release and join the growing community of
Test Infected Flash developers!


Thanks,


Luke Bayes
www.asunit.com

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
[EMAIL PROTECTED]
http://www.incomumdesign.com
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


___________________
Ben Jackson
Diretor de Desenvolvimento

+55 (21) 9997-0593
[EMAIL PROTECTED]
http://www.incomumdesign.com


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to