🐑An incredible and performant framework for unit testing🐑
Project description
.. _sheepy:
Sheepy: A Simple Python Unit Testing Framework
====================================================
Introduction
Sheepy is a lightweight unit testing framework designed for Python developers who value simplicity and ease of use. It provides a core set of components to write unit tests and generate basic test reports.
...
Installation
To install Sheepy, simply:
pip install sheepy
Usage
Here's a basic example of how to use Sheepy:
from sheepy.sheeptest import SheepyTestCase
class ExampleTest(SheepyTestCase):
def test_success(self):
self.assertTrue(True)
def test_failure(self):
self.assertEqual(1, 2)
def test_error(self):
raise Exception("Forced error")
@SheepyTestCase.skip("Reason to ignore")
def test_skipped(self):
pass
@SheepyTestCase.expectedFailure
def test_expected_failure(self):
self.assertEqual(1, 2)
suite = TestSuite([ExampleTest])
runner = TestRunner(suite)
runner.run()
Customization
Sheepy allows for customization in several ways:
- Logging: ...
- Reporting: ...
- Test discovery: ...
... (continue with customization options)
API Reference
.. automodule:: sheepy :members: :undoc-members: :show-inheritance:
Indices and tables
- :ref:
genindex
- :ref:
modindex
- :ref:
search
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sheepy-0.0.4.tar.gz
.
File metadata
- Download URL: sheepy-0.0.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab30da8190ced816de24574b463a3c55401f6aae0365568a4ae1303773feb70d |
|
MD5 | 9854b580250860ae09ec80f18aae2273 |
|
BLAKE2b-256 | 28907447583251bd7020acfbd429f008639b1902970a7c658ce83be76bb15693 |
File details
Details for the file sheepy-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: sheepy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c13222b4bef3a682395eca73d37c4526b76098e4de1cccb910a8eb84697fbd4 |
|
MD5 | 0d9656f28b634cfebb674af1b65fb723 |
|
BLAKE2b-256 | 89ef186fbb895f60df1ad4d3c51c4ec62a84f0eff7e1ddac2ffc70ed8f2c856b |