It should be possible to implement a subclass of DataPatternAttribute or
DataAttribute that loads data from a database or Excel spreadsheet.
It shouldn't be too hard, actually.
You could perhaps throw something together based on RowAttribute.cs using
OleDbDataAdapter or maybe a third party .Net library for reading Excel
spreadsheets.
Don't dismiss [CsvData] out of hand though. It's pretty powerful. CSV
spreadsheets can be loaded into Excel just like ordinary worksheets.
Jeff.
On Sun, Mar 13, 2011 at 6:09 PM, tk <t12
...@gmail.com> wrote:
> Hi
> From this link it looks like there is no support to datadrive from
> excel sheet.
> http://www.gallio.org/wiki/doku.php?id=mbunit:data-driven_testing:ext...
> It is tough to maintain data in csv files. It would be easy to
> maintain data in sheets in a single workbook.
> Thanks
> TK
> --
> You received this message because you are subscribed to the Google Groups
> "MbUnit.Dev" group.
> To post to this group, send email to mbunitdev@googlegroups.com.
> To unsubscribe from this group, send email to
> mbunitdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mbunitdev?hl=en.