[needs-packaging] mocker

Bug #453466 reported by Sidnei da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Server
Fix Released
Undecided
Unassigned
lazr.testing
Fix Released
Undecided
Unassigned
Ubuntu
Fix Released
Wishlist
dobey

Bug Description

Python module for graceful creation of test doubles (mocks, stubs, fakes and dummies).

URL: http://labix.org/mocker
Launchpad: https://edge.launchpad.net/mocker
License: PSF

Related branches

Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
dobey (dobey)
Changed in ubuntu:
assignee: nobody → Rodney Dawes (dobey)
status: New → In Progress
Revision history for this message
Jamu Kakar (jkakar) wrote :

Rodney:

Gustavo Niemeyer, the author of mocker, has expressed that he does
not want it packaged. I've talked to him about it as recently as ten
days ago, because I want to see it packaged, and he still feels the
same way. You may want to talk to him before going ahead with it.

Revision history for this message
dobey (dobey) wrote :

Jamu:

I discussed with him on Thursday about packaging mocker, again. I don't know where all Landscape and Launchpad use it, though. How many projects do you guys have that copy the mocker.py over?

We've got at least 8 projects in Ubuntu One that use it, and that number is growing. It only makes sense for us to package it, and use a single copy for everything, rather than copying the same file everywhere. And having it packaged, makes it much easier for us to update, when there is a change/fix. And we can't simply have it in a PPA only, because we ship things in Ubuntu, and we want to get all of our projects that are packaged in Ubuntu, running tests during package builds.

That gives us 3 options: 1) keep copying mocker.py everywhere 2) package mocker in Ubuntu 3) use something else that is packaged in Ubuntu.

Given these options, I think 2 is the best for us. 1 will just lead to death by growth. And 3 means we have to rewrite all our tests to use some new framework, that may have completely different quirks that we are used to, or can easily fix in mocker.

So our conversation on Thursday ended with the following:
[18:19] <niemeyer> dobey: Please submit your package to universe then
[18:20] <dobey> ok :)

Revision history for this message
Jamu Kakar (jkakar) wrote :

Rodney:

Nice! I really want a mocker package, thanks for taking it on. :)

dobey (dobey)
Changed in ubuntu:
status: In Progress → Fix Released
Sidnei da Silva (sidnei)
Changed in lazr.testing:
status: New → Fix Released
Thomas Herve (therve)
Changed in landscape:
status: New → Fix Released
milestone: none → 12.11
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.