Obviously the question was: now that I know it's possible, what can I do to make it happen? :) Didn't find anything on the doc site about creating new test types. Probably since v3 is still in alpha, I'd better use v2. :) Simo
On Fri, Sep 12, 2008 at 9:50 AM, Simone Chiaretta < [EMAIL PROTECTED]> wrote: > I always used v2, but since it's a new project I could also start with v3. > Simo > > > On Thu, Sep 11, 2008 at 10:09 PM, Jeff Brown <[EMAIL PROTECTED]> wrote: > >> It's possible. >> Are you using MbUnit v2 or v3? >> >> Jeff. >> >> ------------------------------ >> *From:* [email protected] [mailto:[EMAIL PROTECTED] >> *On Behalf Of *Simone Chiaretta >> *Sent:* Thursday, September 11, 2008 8:25 AM >> *To:* [email protected] >> *Subject:* MbUnit RowTesting based on a folder >> >> Don't know if this is possible, but I'd like to know it it's possible to >> use an external source as source for the rowtests. >> Let me explain my scenario to make the question clearer: >> >> My library has only one method, that does tons of things, but basically >> it's a parser that takes in a language, and convert it to an output. >> My tests are basically one line of code that read the contents of a file >> with the statements, pass the string to the library, gets the output, and >> compare it to the text which is stored in another file. >> >> Now I'm doing it using rowtest that takes in the statement file and the >> expected result file and everything works fine. >> But what I'd like to do is give to the test only the folder where all >> these files are, and have it process automatically all of them. >> >> I could do a master test that read the folder and calls the single test >> one time per file, but then I'd loose the independence of all the tests >> since the test will fail if just one fails, and this is not good. >> >> Is it possible to do this? >> Simo >> >> -- >> Simone Chiaretta >> codeclimber.net.nz >> Any sufficiently advanced technology is indistinguishable from magic >> "Life is short, play hard" >> >> >> > > > -- > Simone Chiaretta > codeclimber.net.nz > Any sufficiently advanced technology is indistinguishable from magic > "Life is short, play hard" > -- Simone Chiaretta codeclimber.net.nz Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
