RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 785 forks source link

Data Driven Framework #420

Closed renas closed 9 years ago

renas commented 9 years ago

From tomeenub...@gmail.com on October 18, 2012 03:23:26

What steps will reproduce the problem? 1.I am trying to implement data driven framework(using junit) and trying to fetch Testdata from the embedded database(ie sqlite) 2.Instrumentation class doesnot allow us to add parametrize constructor in it. I want to do data driven testing using junit in which i need parametrized constructor (using the tag @Parameter and @RunWith(Parametrized.class) 3.How can i add constructor so that i can smootly fetch data from the sqlite database and put the time span result in the test report What is the expected output? What do you see instead? Test report should be generated . Every test should be run as individual test (if test data is differenet) as in case of testng (@dataprovider) is used in which we dont need to add constructor with parameters What version of the product are you using? On what operating system? Windows Please provide any additional information below.

Original issue: http://code.google.com/p/robotium/issues/detail?id=341

renas commented 9 years ago

From renasr...@gmail.com on October 18, 2012 04:01:22

Unfortunately I am not able to help you with your question. I have not tried that my self.

Status: Invalid

renas commented 9 years ago

From tomeenub...@gmail.com on October 18, 2012 05:14:34

Then how will we implement junit in Robotium . As testNG has the flexibility to do so but we cannot run the robotium with testng. Or we can run the robotium with testng testcases

renas commented 9 years ago

From renasr...@gmail.com on October 18, 2012 21:11:15

Remote Control is under beta test. You can use it together with testng. It will downloadable from the web site as soon as its ready. http://sourceforge.net/projects/safsdev/files/Robotium%20RemoteControl/