Skip to main content

A Python package that simplifies the creation and execution of unittest test cases.

Project description

test-helper-by-delica

Purpose

This Python package simplifies the creation and execution of unittest test cases,
in order to help programmers efficiently develop and run tests for their Python software.

Installation

This package is available through the Python Package Index (PyPI).
One can easily download the package with the following pip install statement:
pip install test_helper_by_delica

Getting Started

After installation, all we need to start using the package is a function that we want to test.
For a simple example, we can define a boolean function that always returns True.

def always_true():    
    return True   

We then use the test helper package to create a unittest TestCase object.

import test_helper_by_delica as test_lib 
test_obj = test_lib.create_test_obj()

Now we can call the boolean testing function to check whether always_true returns the expected result.

test_lib.test_bool_func(test_obj, always_True, true_inputs=())

Current Features

Citation

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

test_helper_by_delica-0.1.7.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_helper_by_delica-0.1.7-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file test_helper_by_delica-0.1.7.tar.gz.

File metadata

  • Download URL: test_helper_by_delica-0.1.7.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for test_helper_by_delica-0.1.7.tar.gz
Algorithm Hash digest
SHA256 d056dbdb610191a06cc646207c07ee2cc69dbb9b23bb3f628592fb6b4830a6ae
MD5 4d8bcc0dd8085e6f47d7e3d4ed264ab8
BLAKE2b-256 e54f889b8e80fd33e5c61c1309f11c98348900ee0505a95f245cd5878926930b

See more details on using hashes here.

Provenance

The following attestation bundles were made for test_helper_by_delica-0.1.7.tar.gz:

Publisher: main.yml on DelicaLM/test_helper_by_delica

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file test_helper_by_delica-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for test_helper_by_delica-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 960f851c5ee506b93ea37c67cdc034d2fb78630abde5865e01caa6bafa2c1b6c
MD5 aad2747001d96bec709c16017f2ee7a1
BLAKE2b-256 885f637a65d862e36d5826d0ee2cfc6dbd893a1996e86a6a7fe213262584e3f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for test_helper_by_delica-0.1.7-py3-none-any.whl:

Publisher: main.yml on DelicaLM/test_helper_by_delica

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page