Does anyone have any experience or thoughts on automating test running
for the purposes of continuous integration?
=20
I currently use ant to automate the building of my test-suites (custom
task to spider test packages and generate AllTests.as) and generation
(mtasc) of a single test-swf. This process works well and I have often
wondered quite what would be needed to take things a step further and
automatically run/evaluate the tests. What's stopped me in the past is
the use of LocalConnection between tests and TestUI.
=20
LocalConnection is said to use some low-level form of Inter Process
Communication, but given there is little information on the specifics of
the protocol, I presume it would not be trivial to use this approach as
a means of interfacing with a different platform/runtime (e.g. java). I
also presume that the implementation of LocalConnection might be
platform-dependent. Another approach could be to create a swf which
implements the same interface (not in the literal sense) as the current
GUI, then use an easier protocol (xml-sockets?) to communicate with a
reporting host.
=20
Ideally the setup would be platform independent, although a higher
priority might be to at least support linux, as this is the most likely
candidate for the machine which would be carrying out the continuous
integration builds.
=20
Thanks.
=20
Ian Tyrrell
=20
Ian Tyrrell,
Senior Developer,
Greek Attic Ltd
=20
|