🐑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.3.tar.gz
.
File metadata
- Download URL: sheepy-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf8f572062daeb424c29b4c1c450fcfcc0fbda30f6b834dfeaf5ce5cb538745f |
|
MD5 | b20df63e5282dc1130b17bd0768b7227 |
|
BLAKE2b-256 | be61eec7314a22262deb8cf31a8af791a40afd3b61f9b5be0fe6dcf4d763c94a |
File details
Details for the file sheepy-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: sheepy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.7 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 | d1872b980f3c83876c0747d7c9fba077ec840b2bf3ba2a298df19f50403199a1 |
|
MD5 | de982835fcb1a567d4fbacf0553f4476 |
|
BLAKE2b-256 | 108c734e78534442d4b0acc5b5ed7825de3099d0173b2fcd2584a6dc4998cef7 |