在Flex中自动测试 [英] automate testing in Flex
问题描述
添加到弗洛里安刚才说的,这是一种测试与自动化库一起工作。就个人而言,这不是一种我通常做的测试,除非你创建了很多自定义组件,并且你需要测试它们的行为。
到单元测试。在这种情况下,有几个库可用,但Flash Builder支持的库称为Flex Unit 4.在这种测试中,我们正在测试函数以确保输出的正确性取决于输入。
您可以找到更多有关的信息它在他们的网站上。如果你想自动化,你将需要像TeamCity或Hudson这样的自动化引擎来运行Ant或者Maven构建。如果您使用的是Maven,我建议您查看 FlexMojos 以进行自动构建,测试。
I want to automate testing of flex application. I have heard that Flex provides with classes that help you automate the testing. But I don't know where to find them and how to use them. Can anyone help me regarding this issue? Any hint or suggestion will be appreciated...
To add to what Florian just said, that is one kind of testing which works with the Automation library. Personally, that is not a kind of testing I normally do unless you create a lot of custom components and you need to test their behavior.
The testing you're probably referring to is Unit Testing. In this case, there are several libraries available, but the one supported by Flash Builder is called Flex Unit 4. In this kind of testing, we're testing functions to make sure the output is correct depending on the input.
You can find more information about it on their website. If you want automation, you're going to need an automation engine like TeamCity, or Hudson to run an Ant or Maven build. If you're using Maven, I would recommend you look at FlexMojos for automated build and testing.
这篇关于在Flex中自动测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!