Running unittest with typical test directory structure

Python unittest - opposite of assertRaises?

Running a single test from unittest.TestCase via the command line

Python - doctest vs. unittest

__init__ for unittest.TestCase

Python unittests in Jenkins?

Unittest setUp/tearDown for several tests

What is the difference between setUp() and setUpClass() in Python unittest?

How to assert output with nosetest/unittest in python?

AttributeError: "module" object has no attribute "tests"

How to send requests with JSON in unit tests

Python returns MagicMock object instead of return_value

sphinx-build fail - autodoc can"t import/find module

Outputting data from unit test in Python

Mocking a function to raise an Exception to test an except block

Disable individual Python unit tests temporarily

Python Mocking a function from an imported module

Python unit test with base and sub class

How do I configure PyCharm to run py.test tests?

How can I disable logging while running unit tests in Python Django?

How to assert two list contain the same elements in Python?

Running a specific test case in Django when your app has a tests directory

assertEquals vs. assertEqual in python

Asserting successive calls to a mock method

How do I mock an open used in a with statement (using the Mock framework in Python)?

Raise warning in Python without interrupting program

How do you generate dynamic (parameterized) unit tests in Python?

How to print to console in pytest?

How do I run all Python unit tests in a directory?


How do you test that a Python function throws an exception?

PHPUnit | AssertDirectoryIsReadable () Function

PHPUnit | assertArraySubset () function

PHPUnit | AssertClassNotHasStaticAttribute () Function