Imaginea/bot-bot — pull request #49 by moizjv (2012-05-07 10:30:32+00:00)
Title: Data driven support for Robotium platform 

Following conventions are to be followed when implementing data driven tests with robotium platform

1.Data-driven tests should be placed under folder named as 'datadriven'.

2. Data-driven test cases should end with '_datadriven.csv' eg. {testcasename}_datadriven.csv and Data files should end with '_data.csv' eg {testcasename}_data.csv. Note:data file should be named as {testcasename}_data.csv

3. Values which are to be provided from data.csv at run time should start with $ followed by identifier which would be present in data.csv eg. $title

4.Data files (_data.csv) should have first row as identifiers saperated by commas and other rows as set of data saperated by comma(in same order as identifiers). Each row is taken as data for a test case.

5.For sample test case with datadriven approach see createNewPost_datadriven.csv and createNewPost_data.csv in datadriven folder present in testcases/wordpress/datadriven