[TIP] Which unittest extensions are very important in current test practices?

Brian Okken variedthoughts at gmail.com
Wed Apr 27 07:30:47 PDT 2016


I'm trying to pull together all of the relevant useful extensions to
unittest.

There are lots of extensions to unittest.

This is obvious:

* mock (still an extension for 2.7, built in to 3.5)

These look current from github activity. Are they still important?

* testtools
* fixtures

These ... I'm not sure ... Are they still important?

* testscenarios
* testresources
* testrepository

And this looks interesting, but is it still important?

* subunit

Did I miss some that are used a lot and are still useful?

Here are the links to these items:

* mock:
    - https://github.com/testing-cabal/mock
    - https://docs.python.org/dev/library/unittest.mock.html

* testscenarios
    - https://pypi.python.org/pypi/testscenarios
    - https://github.com/testing-cabal/testscenarios

* testtools
    - https://pypi.python.org/pypi/testtools
    - https://github.com/testing-cabal/testtools
    - http://testtools.readthedocs.org

* fixtures
    - https://pypi.python.org/pypi/fixtures
    - https://github.com/testing-cabal/fixtures

* testresources
    - https://pypi.python.org/pypi/testresources
    - https://github.com/testing-cabal/testresources

* subunit:
    - https://pypi.python.org/pypi/python-subunit
    - http://www.tech-foo.net/making-the-most-of-subunit.html

* testrepository
    - https://github.com/testing-cabal/testrepository
    - http://testrepository.readthedocs.org/

Any and all help appreciated.

Regards,
Brian Okken
Twitter: @brianokken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20160427/ae77bc86/attachment-0001.htm>


More information about the testing-in-python mailing list