Skip to main content

allure-unittest

unittest Allure integration

import unittest
from allure_unittest import Run


class Activity(unittest.TestCase):
    def test_1(self):
        self._testMethodDoc = "test 1 == 1"
        self.assertEqual(1, 1)

    def test_2(self):
        self._testMethodDoc = "test 1 == 2"
        self.assertEqual(1, 2)

    def test_3(self):
        self._testMethodDoc = "test 2 == 3"
        self.assertEqual(2, 3, "2 not Equal 3")


if __name__ == '__main__':
    c = unittest.defaultTestLoader.loadTestsFromTestCase(Activity)
    Run('test', c, clean=True)

Release files for allure-unittest 0.0.2

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

Source distribution (sdist)

Source distribution for allure-unittest 0.0.2
File Size Uploaded
allure-unittest-0.0.2.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for allure-unittest 0.0.2
File Interpreter ABI Platform
allure_unittest-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / allure-unittest-0.0.2.tar.gz

Download URL allure-unittest-0.0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8dae3d63932fa99025e449f4f5864e8b20f673a8c9a97b15d3e3c01d888fd754
BLAKE2b-256 checksum
How to use checksums
57d09533192c4f318b9f84755b78ce2de1f884bf652b70d4f839161adabe8d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / allure_unittest-0.0.2-py3-none-any.whl

Download URL allure_unittest-0.0.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5de833491d969cd81560f32380bb1e7f6de92ba08e61bb39ecc0fd86de9660ae
BLAKE2b-256 checksum
How to use checksums
04ebc27893b93a458beb91d0b8c15ac7b335627768d4911380ce74ce2763ee17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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