Mixin / global function for assertThat

Bug #1243834 reported by Jonathan Lange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Wishlist
Dan Watkins

Bug Description

People would like to use testtools matchers, but don't want to use testtools as a base class. At least, not yet. Providing a mixin would allow such people to start using testtools without paying a large migration cost.

Revision history for this message
Robert Collins (lifeless) wrote :

It seems like you've had a discussion somewhere about this and captured the things some folk would like - thats great. However what seems to be missing is the things that concern them about inheriting from TestCase. If you know, could you capture that somewhere. If not, could you enquire?

Changed in testtools:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Jonathan Lange (jml) wrote : Re: [Bug 1243834] Re: Mixin / global function for assertThat

At a guess it's not wanting to go even close to the nasty nest of multiple
inheritance – who knows what trial.TestCase and testtools.TestCase do
together? – but in any case I've forwarded the question to the originating
IRC channel.

On Sun, Nov 24, 2013 at 3:06 AM, Robert Collins
<email address hidden>wrote:

> It seems like you've had a discussion somewhere about this and captured
> the things some folk would like - thats great. However what seems to be
> missing is the things that concern them about inheriting from TestCase.
> If you know, could you capture that somewhere. If not, could you
> enquire?
>
> ** Changed in: testtools
> Status: New => Triaged
>
> ** Changed in: testtools
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1243834
>
> Title:
> Mixin / global function for assertThat
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/testtools/+bug/1243834/+subscriptions
>

Revision history for this message
Jonathan Lange (jml) wrote :

And they've confirmed my guess.

Dan Watkins (oddbloke)
Changed in testtools:
assignee: nobody → Daniel Watkins (daniel-thewatkins)
Dan Watkins (oddbloke)
Changed in testtools:
status: Triaged → In Progress
Revision history for this message
Robert Collins (lifeless) wrote :

I think this is done?

Revision history for this message
Jonathan Lange (jml) wrote :

Yes.

Changed in testtools:
status: In Progress → Fix Released
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.