Skip to main content

About

Console app and Python API for automated smoke testing, preconfigured to make coursework easier for our ACS students.

Installation

To install smoke_test run:

$ pip install smoke_test

Console app usage

Quick start:

$ smoke_test <filename>

Show help:

$ smoke_test --help

Python API usage

Quick start:

>>> import logging
>>> logging.basicConfig(level=logging.DEBUG, format="[%(levelname)s] %(message)s")

>>> import os
>>> os.chdir('examples/file')

>>> from smoke_test.main import smoke_test
>>> from smoke_test.utils import get_test_stats

>>> results = smoke_test('program-error-bad-function-calls-count.c')
>>> num_ok, num_failed, success_rate = get_test_stats(results)
>>> logging.info("Test stats: ok = %d, failed = %d, success rate = %d %%", num_ok, num_failed, success_rate)

Contribute

If you find any bugs, or wish to propose new features please let us know.

If you’d like to contribute, simply fork the repository, commit your changes and send a pull request. Make sure you add yourself to AUTHORS.

Metadata

Release files for smoke_test 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smoke_test 1.1.0
File Size Uploaded
smoke_test-1.1.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smoke_test 1.1.0
File Interpreter ABI Platform
smoke_test-1.1.0-py2-none-any.whl Python 2 none any Details

Total release size: 20.6 kB

Release files / smoke_test-1.1.0.tar.gz

Download URL smoke_test-1.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a6c789580c2e7e1dda4fcd974c16fcd3416f57c11b06bafb0ea16700a7898e3a
BLAKE2b-256 checksum
How to use checksums
48288946d79fe5b227cc5191b4ca9f4c22ee856ae8449e14120f5be895deaba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release files / smoke_test-1.1.0-py2-none-any.whl

Download URL smoke_test-1.1.0-py2-none-any.whl
Size 12.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
95e3aa7c975cc612eb8b8acb1f1316992e4176bd3330ac339016e634d94c2304
BLAKE2b-256 checksum
How to use checksums
51213bb0fddd3ff414cd8370d56ac61f7f106660ecd8c0544b13dad78daf417b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page