Filewatcher File Search File Search
Catalog
Content Search
» » » » »

python-mox

a mock object framework for Python

Variants:
Mox is a mock object framework for Python that simplifies the writing of unittests.

Mox will make mock objects for you, so you don't have to create your own. It mocks the public/protected interfaces of Python objects. You set up your mock objects expected behavior using a domain specific language (DSL), which makes it easy to use, understand, and refactor.

It is based on EasyMock, a Java mock object framework.

Homepage:
Package version:0.5.0-1
Architecture:all
Distribution:Debian
Filename:python-mox_0.5.0-1_all.deb

/usr/share/doc/python-mox/README

Mox is an open source mock object framework for Python, inspired by
the Java library EasyMock.

To install:

  $ python setup.py install

To run Mox's internal tests:

  $ python mox_test.py

Basic usage:

  import unittest
  import mox

  class PersonTest(mox.MoxTestBase):

    def testUsingMox(self):
      # Create a mock Person
      mock_person = self.mox.CreateMock(Person)

      test_person 
more»

/usr/share/doc/python-mox/changelog.Debian.gz

python-mox (0.5.0-1) unstable; urgency=low

  * Initial release (Closes: #488547)

 -- Iustin Pop <iusty@k1024.org>  Sun, 29 Jun 2008 21:22:55 +0200


/usr/share/doc/python-mox/copyright

This package was debianized by Iustin Pop <iusty@k1024.org> on
Sun, 29 Jun 2008 21:01:19 +0200.

It was downloaded from http://code.google.com/p/pymox/

Upstream Author:

    Google Inc

Copyright:

    Copyright (C) 2008 Google Inc

License:

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain 
more»

Browse inside python-mox_0.5.0-1_all.deb

         [DIR]DEBIAN/ (4)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download python-mox_0.5.0-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com