skillfed

softest

Supports lightweight soft assertions by extending the unittest.TestCase class

softest v1.2.0.0 88.9K downloads/30d#13,695 on PyPI
License unclear Abandoned released

What it is and what it does

Softest is a unittest extension that implements soft assertions—a testing pattern where multiple assertion failures within a single test method are collected and reported together at the end, rather than stopping execution at the first failure. It wraps standard unittest assertion methods (assertEqual, assertTrue, etc.) and exception-checking methods (assertRaises, assertRaisesRegex) through soft_assert() and soft_assert_raises() calls, then aggregates all failures and their stack traces for a final assert_all() call that reports them as a batch.

The package enhances stack traces to show the call hierarchy within the test class, making it easier to understand where each failure occurred. It has no runtime dependencies and installs as a pure Python wheel, making it lightweight to add to existing test suites. However, it has been abandoned since mid-2018 and receives no maintenance or updates.

Use it for:

  • Run all assertions in a test method without stopping at the first failure, to see the full scope of what broke.
  • Collect and format multiple related assertion failures for a single comprehensive test report.
  • Test objects with many properties where you want to verify all of them before the test fails.
  • Replace hard-stop assertions in integration tests where you want to gather all mismatches before stopping.
  • Debug test failures faster by seeing all assertion errors at once instead of fixing them one by one.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Softest extends unittest.TestCase to allow multiple assertions to fail within a single test method, collecting and reporting all failures together instead of stopping at the first one.

Yes, if you need soft assertions and are comfortable with an unmaintained package. The code is simple, has no dependencies, and the concept is stable—soft assertions are a well-established testing pattern. However, verify it works with your Python version and test framework before committing to it in a new project, and be prepared to fork or patch it if issues arise.

Install

softest on PyPI

pip

pip install softest

uv

uv add softest

poetry

poetry add softest

Installing softest

Before you install

Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2018-07-26 and no commits or activity since then. Use only if you need soft assertions and are willing to maintain a fork if issues arise.

License in practice

License treatment is unclear; the package declares itself as Freeware but provides no SPDX identifier or explicit license text. Verify licensing terms independently before using in commercial or restricted contexts.

Quickstart

import softest

class MyTest(softest.TestCase):
    def test_multiple_assertions(self):
        self.soft_assert(self.assertEqual, 'a', 'b')
        self.soft_assert(self.assertTrue, False)
        self.assert_all()  # Reports all failures together

Verify before relying

  • Whether the package works with Python versions released after 2018 without modification.
  • Current maintainer contact or fork status if bugs are discovered.
  • Compatibility with modern unittest or pytest workflows.

Package facts

License not declared (unclear)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 2,941 days since the last release
First released
Downloads 88,890/month — #13,695 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: softest-1.2.0.0-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: FreewareNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Testing

Tags

soft assertions testingmultiple assertion failuresunittest soft assertcollect test failuresdeferred assertion reportingbatch assertion failuressoft assert framework
soft-assertionsunittest-extensiontest-reporting

More Testing packages