Comment 15 for bug 1111834

Revision history for this message
Charlie Poole (charlie.poole) wrote : Re: [Bug 1111834] Re: Expose Random Object as part of the test context

No confusion. I actually started out using the word. It's just another
overload.

Charlie

On Mon, Apr 15, 2013 at 4:05 PM, Tyrel Alastair Hunter <
<email address hidden>> wrote:

> You assumption is correct I should have used class definition instead of
> interface sorry for any confusion
> —
> Sent from Mailbox for iPhone
>
> On Mon, Apr 15, 2013 at 4:32 PM, Charlie Poole <email address hidden>
> wrote:
>
> > The interface looks good to me. BTW, I'm assuming we are using the word
> > "interface" in a general way - the methods can just as well be directly
> > implemented on the type that is returned by TestContext.Random.
> > Charlie
> > On Mon, Apr 15, 2013 at 12:55 PM, Tyrel Alastair Hunter <
> > <email address hidden>> wrote:
> >> This is the proposed interface for the random generator that will be
> >> exposed to during test execution via the test context.
> >>
> >> see nunit-discuss for the discussion on this interface
> >>
> >> https://groups.google.com/forum/?fromgroups=#!topic/nunit-
> >> discuss/-OkpTnOeIRQ
> >>
> >>
> >> ** Attachment added: "proposed interface"
> >>
> >>
> https://bugs.launchpad.net/nunitlite/+bug/1111834/+attachment/3644956/+files/RandomGenerator.png
> >>
> >> --
> >> You received this bug notification because you are subscribed to
> >> NUnitLite.
> >> https://bugs.launchpad.net/bugs/1111834
> >>
> >> Title:
> >> Expose Random Object as part of the test context
> >>
> >> To manage notifications about this bug go to:
> >> https://bugs.launchpad.net/nunit-3.0/+bug/1111834/+subscriptions
> >>
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1111834
> > Title:
> > Expose Random Object as part of the test context
> > Status in NUnit Test Framework:
> > Triaged
> > Status in NUnitLite Testing Framework:
> > Triaged
> > Bug description:
> > When you have a test that needs to generate randomness but the random
> > attribute is not sufficient, there is no way to make sure that the
> > same random number is used across multiple test executions. In order
> > to fix this it would be ideal to expose the already existing Random
> > generator that is part of each test case on the context.
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/nunit-3.0/+bug/1111834/+subscriptions
>
> --
> You received this bug notification because you are subscribed to
> NUnitLite.
> https://bugs.launchpad.net/bugs/1111834
>
> Title:
> Expose Random Object as part of the test context
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nunit-3.0/+bug/1111834/+subscriptions
>