I think you understand my post.
I'm new to AS3 coming from years of Java so I'm not as sophisticated
with using AS3's bracket metadata yet. Your proposed solution looks
superior to my workaround. In the Java world your solution would be
akin to JUnit 4 (when annotations/metadata were introduced) and mine
like JUnit 3.
Thanks for the quick response. Looking forward to when this is
available and stable.
On May 4, 1:36 pm, Brian <
legr...@gmail.com> wrote:
> @debug - In the alpha released, there is support for class matching on
> error types using the expects value in the [Test] metadata. For
> example:
>
> [Test(expects="my.custom.package.MyErrorClass")]
> public myTestMethod() : void
> {
> ...
>
> }
>
> Looks like your assertion method and the stuff built into the alpha
> version address the same needs. I might be misunderstanding your
> example however, can you help me out a bit? Mike's posted a quick
> tour of the new stuff over on his blog @
http://blogs.digitalprimates.net/codeSlinger/index.cfm/2009/5/3/FlexU...