Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #398

CaptureMock 0.3 - true record/replay mocking for Python (and other things...)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <geoff.bache@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.057
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'url:sourceforge': 0.02; 'subject:Python': 0.06; 'written.': 0.07; 'python': 0.08; 'command-line': 0.09; 'derived': 0.09; 'that).': 0.09; 'reply- to:addr:pobox.com': 0.16; 'runs.': 0.16; 'synchronous': 0.16; 'written': 0.17; 'thus': 0.23; 'code': 0.25; 'creating': 0.25; 'handles': 0.25; 'all,': 0.27; 'classes': 0.27; 'language.': 0.28; 'separate': 0.28; 'message-id:@mail.gmail.com': 0.29; 'class': 0.29; 'list:': 0.30; 'received:209.85.161.46': 0.31; 'received :mail-fx0-f46.google.com': 0.31; 'point,': 0.32; 'url:listinfo': 0.32; 'approach.': 0.34; 'subject:/': 0.35; 'received:209.85.161': 0.35; 'file': 0.36; 'to:addr:python-announce-list': 0.36; 'another': 0.36; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'mailing': 0.38; "there's": 0.39; 'tool': 0.39; 'subject: (': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'received:209': 0.40; 'more': 0.60; 'url:net': 0.61; 'custom': 0.61; 'url:index': 0.61; 'your': 0.61; 'header:Reply- To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'url:page': 0.73; 'records': 0.74; 'website:': 0.75; 'programs,': 0.80; 'url:php': 0.83; 'calls,': 0.84; 'mock': 0.84; 'replay': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=ZqolIts8tW0NFAx/8r1IX/fkUNKczDZRQc8JsIGwd4w=; b=q4kbBGt61UC4OuCmDDe+LBc+n5U4I7W3oM5qyCzQ+83rFNBLFiVEwbVxSNYx9LZLMB Kiga5mfQPTGgIfxX/VinQWa9g1IxXUzHakfwmhn1TEp3VlB/lb84meQSi5EC+8aWmhLx rs6wiNBD7pfrZOuAZ4Vr6wbV6TfvIzVKBiwIU=
MIME-Version 1.0
Date Sun, 13 Nov 2011 20:08:14 +0100
Subject CaptureMock 0.3 - true record/replay mocking for Python (and other things...)
From Geoff Bache <geoff.bache@gmail.com>
To python-announce-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-Mailman-Approved-At Mon, 14 Nov 2011 17:51:18 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org, geoff.bache@pobox.com
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.2701.1321289479.27778.python-announce-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1321289479 news.xs4all.nl 6973 [2001:888:2000:d::a6]:41691
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:398

Show key headers only | View raw


Hi all,

There's a new release of CaptureMock out. For Python users the main
enhancement/fix is that you can now inherit from classes that are
intercepted while not intercepting your derived class itself (if you
follow that).

Regards,
Geoff Bache

More detail:

CaptureMock is a tool for creating mocks via a "true" capture-replay
style approach. It records interactions to a separate file which can
then be used for replay in future runs. It is thus not another
"EasyMock" clone. Interaction can be recaptured from a real
system at any point, and no mock code needs to be written. It handles
Python calls, command-line programs, and synchronous messaging over
networks. Custom clients can now also be written for any language.

Website: http://www.texttest.org/index.php?page=capturemock
Mailing list: https://lists.sourceforge.net/lists/listinfo/texttest-users

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

CaptureMock 0.3 - true record/replay mocking for Python (and other things...) Geoff Bache <geoff.bache@gmail.com> - 2011-11-13 20:08 +0100

csiph-web