Re: Fwd: Fwd: Assume
"Charlie Poole" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <008e01c8702b$5ce5d550$6401a8c0@ferrari> |
Hi Cliff, > > > > Hi Cliff, > > > > > [cliff] but wouldn't you want to know the dataset that > caused your > > > test to not run or not be built. Maybe in a report or something, > > > but I think I'd like to have some way of knowing that. > > > > If it's a dataset, probably yes. But Kelly was giving an > example where > > a particular random number was not in the set of values for > which the > > test was designed. Hence, we can't have a test at all. I'd > just keep > > generating till I had enough in that case. > > > > Charlie > > [cliff] How would the test know the difference? If you never create a test for the bad value, then it never exists, never gets run and doesn't have to know anything. :-) That's the difference between a test that handles multiple data items and a dataset that generates multiple tests. Charlie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/