问题描述
如何robotium呼吁的功能写在测试类。我在测试类写了很多的功能即可。 我不要想打电话给每一个功能。我只是想调用一些功能,在一些特定的条件即可。就像我们正在做规划languages.How我能做到这一点?我注意到,即使我们不是要求写在测试类中的每个函数执行。的为什么是这样呢?的
How robotium is calling functions written in the test class. I have written many functions in the test class. i dont want to call every functions . I just want to call some functions in some specific conditions. like we are doing in programming languages.How can i do this? I have noticed that even if we are not calling every functions written in test class are executing. why it is like that?
推荐答案
这是不是robotium,但测试框架。该仪器测试运行刚刚穿过类和调用测试类的所有公共方法。
This is not the robotium, but test framework. The instrumentation test runner just goes through the class and call all public methods of a test class.
这篇关于调用robotium功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!