AsUnit 与 FlexUnit – 哪个“更好”?

发布于 2024-07-23 06:57:57 字数 129 浏览 8 评论 0原文

我现在正在学习 ActionScript/Flex,是时候开始单元测试了。 我的阅读表明有两个主要框架:FlexUnit 和 AsUnit。

有什么理由要学习其中一种而不是另一种吗? 在某种程度上,一个人“更好”吗?

I'm learning ActionScript/Flex at the moment, and it's come time for me to start unit testing. My reading shows that there are two main frameworks out there: FlexUnit and AsUnit.

Is there any reason to learn one over the other? Is one, in some way, "better"?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

2024-07-30 06:57:57

还有 fluint,它的创建是为了解决开发人员在使用 FlexUnit 时遇到的问题。

由于 Adob​​e 即将发布的 FlashBuilder 4 版本中提供了新的 FlexUnit 工具支持,fluint 项目和 FlexUnit 项目已合并,创建了一个新的单元测试套件,现在称为 FlexUnit 4.0。 FlashBuilder IDE 将在工具级别支持 FlexUnit 4.0。 这种新的工具支持,加上一些 FlexUnit 4.0 的强大新功能,使新的 FlexUnit 成为 ActionScript 3 和 Flex 代码中单元测试的明确选择。

There is also fluint, which was created in order to address issues that developers were running into using FlexUnit.

Because of new FlexUnit tooling support in the upcoming FlashBuilder 4 release from Adobe, the fluint project and the FlexUnit project have merged to create a new unit testing suite now dubbed FlexUnit 4.0. The FlashBuilder IDE will support FlexUnit 4.0 at the tool-level. This new tooling support, coupled with some of the great new features of FlexUnit 4.0, make the new FlexUnit the clear choice for unit testing in ActionScript 3 and Flex code.

泪意 2024-07-30 06:57:57

我认为这取决于您正在进行的 ActionScript 开发类型。 AsUnit 有更广泛的支持版本。

FlexUnit 看起来似乎得到了 Adob​​e 更好的支持。 如果您专注于 Flex 开发(或严格来说 AS3),我可能会选择 FlexUnit。

I think it depends on the kind of ActionScript development you're doing. AsUnit has a wider set a supported versions.

FlexUnit looks as though it has a better backing through Adobe. If you're focusing on Flex development (or strictly AS3), I'd probably go with FlexUnit.

月朦胧 2024-07-30 06:57:57

作为这个问题的后续,我在过去的几个月里一直在使用 FlexUnit,它(以及 Drew Bourn 的很棒的 hamcrest-as3)一直让我非常高兴。

As a followup to this question, I have been using FlexUnit for the last bunch of months, and it (along with Drew Bourn's awesome hamcrest-as3) has been making me very happy.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文