Running ASUnit4 with the FlexUnit4 runner, whats the version.

7 views
Skip to first unread message

devboy

unread,
Jul 11, 2011, 9:13:45 AM7/11/11
to build...@googlegroups.com
Simon and I found out recently that there is an attempt by ASUnit4 to run inside a FlexUnit4 Runner to make use of its Ant tasks that support CI builds, e.g. headless launching of flash-player or adt in XVNC which is needed on servers which don't have display-system available.

Here is robert penners commit: https://github.com/patternpark/asunit/commit/dec9ed429912c0cea839b0afd5b046e5a250c959

ASUnit does ship with the FlexUnit ant tasks as a jar, which does work fine.
But we couldn't figure out which version of flex-unit the ant-task-jar comes from and it does break when launching it with the currently hardcoded version in buildr-as3 of flex-unit.

If now someone can provide the information to me i can add a version parameter to the flexunit4 test task in buildr,
so you can either run the latest flexunit4 version or the one that works with ASUnit4.

Thanks
 

newtriks

unread,
Jul 11, 2011, 9:19:53 AM7/11/11
to buildr-as3
Looking through ASUnit's git commit history it would appear the
flexunit jar was added in Oct 2010. However, trying to the reference
this to a specific FlexUnit build comes up with two conflicting
versions:

1) If you look at the flexunit http://www.flexunit.org/?p=84 website
they advertise 4.1 RC1.
2) Looking on github
https://github.com/flexunit/flexunit/blob/51ee9bdd9a6502588d9d882f4b8392c0ab1f44bd/version.properties
they bump the version to RC2 in september?

Maybe I am just being cross eyed?

I did unpack the Jar for a version number to no avail :(

On Jul 11, 2:13 pm, devboy <dominic.grae...@gmail.com> wrote:
> Simon and I found out recently that there is an attempt by ASUnit4 to run
> inside a FlexUnit4 Runner to make use of its Ant tasks that support CI
> builds, e.g. headless launching of flash-player or adt in XVNC which is
> needed on servers which don't have display-system available.
>
> Here is robert penners
> commit:https://github.com/patternpark/asunit/commit/dec9ed429912c0cea839b0af...

Dominic Graefen

unread,
Jul 11, 2011, 9:41:28 AM7/11/11
to build...@googlegroups.com
I will see if i can cherry pick the right version.
It looks like I broke the flexunit4 tasks in my latest hotfix (v0.2.12),
can you verify this? Or does it still work for you?

-- 
Dominic Graefen
Freelance: Interactive Developer / Creative Technologist

Dominic Graefen

unread,
Jul 11, 2011, 10:06:50 AM7/11/11
to build...@googlegroups.com
I just pushed out a hotfix (v0.2.14) to fix the flexunit4 bug.

I will see if i can find the right flexunit version:

- FlexUnit 4.1.0- RC2 - 3
- FlexUnit 4.1.0- RC2 - 4

Are not working.

-- 
Dominic Graefen
Freelance: Interactive Developer / Creative Technologist

Dominic Graefen

unread,
Jul 11, 2011, 3:33:05 PM7/11/11
to build...@googlegroups.com
So, there was only one more version that i could find which was still up for download:

flexUnitTasks-4.1.0-beta1.64.jar

And this one breaks as well.
The only way I see now to get this properly working is going to fix the connectors in ASUnit4 to be compatible with the FlexUnit Ant tasks.

Cheers,

-- 
Dominic Graefen
Freelance: Interactive Developer / Creative Technologist

Simon Bailey

unread,
Jul 11, 2011, 4:59:34 PM7/11/11
to build...@googlegroups.com
Ok mate nice one for trying, I will have a dig when I can into ASUnit and see what I can find....
--
Cheers,

Simon

[ http://newtriks.com ]


Reply all
Reply to author
Forward
0 new messages