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

Andres Riancho andres.riancho at gmail.com
Wed Apr 27 08:00:52 PDT 2016


https://github.com/gabrielfalcao/HTTPretty when writing anything that
consumes HTTP services

On Wed, Apr 27, 2016 at 11:30 AM, Brian Okken <variedthoughts at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>



-- 
Andrés Riancho
Project Leader at w3af - http://w3af.org/
Web Application Attack and Audit Framework
Twitter: @w3af
GPG: 0x93C344F3



More information about the testing-in-python mailing list