unittest Allure integration
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allure-unittest-0.0.2.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allure-unittest-0.0.2.tar.gz.
File metadata
- Download URL: allure-unittest-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dae3d63932fa99025e449f4f5864e8b20f673a8c9a97b15d3e3c01d888fd754
|
|
| MD5 |
bc6af8d2b7521b45734c7463d8e6ac5b
|
|
| BLAKE2b-256 |
57d09533192c4f318b9f84755b78ce2de1f884bf652b70d4f839161adabe8d70
|
File details
Details for the file allure_unittest-0.0.2-py3-none-any.whl.
File metadata
- Download URL: allure_unittest-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de833491d969cd81560f32380bb1e7f6de92ba08e61bb39ecc0fd86de9660ae
|
|
| MD5 |
70d16b5311737dfdc81f6e321a0d5f7a
|
|
| BLAKE2b-256 |
04ebc27893b93a458beb91d0b8c15ac7b335627768d4911380ce74ce2763ee17
|