cszdzs / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Data Driven Framework #341

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by tomeenub...@gmail.com on 18 Oct 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Unfortunately I am not able to help you with your question. I have not tried 
that my self. 

Original comment by renasr...@gmail.com on 18 Oct 2012 at 11:01

GoogleCodeExporter commented 9 years ago
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

Original comment by tomeenub...@gmail.com on 18 Oct 2012 at 12:14

GoogleCodeExporter commented 9 years ago
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/

Original comment by renasr...@gmail.com on 19 Oct 2012 at 4:11