Hi Maru,

Thanks for brining this up.  This might make for an interesting discussion
session on the "Common development" track at the summit.

I don't have enough experience using both frameworks to offer a technical
preference, but my main goal is that from a project perspective it is easy
for people to understand and modify other people's test code.  Consistency
within Quantum is critical, and as you point out, consistency across
projects is highly desirable as well.

If nothing else, it would be good to come up with a community policy of
when one testing framework should be preferred versus the other, and to
make it part of our developer documentation, and have it be enforced as
part of the review process.

Dan


On Fri, Apr 6, 2012 at 1:44 PM, Maru Newby <mne...@internap.com> wrote:

> So, there are mock adherents other than me.  And apparently no strong
> voices advocating for removal.  Should it co-exist alongside mox then?
>  Should there be a preference as to how new tests are implemented?  If
> replay is desired, mox may still be useful, although my own experience
> suggests that functionality requiring replay-oriented testing could likely
> benefit from testability improvements.
>
> Thoughts?
>
>
> On 2012-04-06, at 1:23 PM, Trey Morris wrote:
>
> +1 to mock
>
> On Thu, Apr 5, 2012 at 10:51 PM, Jason Kölker <jkoel...@rackspace.com>wrote:
>
>> On Thu, 2012-04-05 at 20:04 -0700, Maru Newby wrote:
>> >  With that in mind, does anybody have any good arguments in favour of
>> > keeping mock?
>>
>> PEP 417 - mock is in the stdlib as of Python 3.3.
>>
>> Happy Hacking!
>>
>> 7-11
>>
>>
>> --
>> Mailing list: https://launchpad.net/~netstack
>> Post to     : netstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~netstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> --
> Mailing list: https://launchpad.net/~netstack
> Post to     : netstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~netstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Mailing list: https://launchpad.net/~netstack
> Post to     : netstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~netstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to