Skip to content

Commit

Permalink
Add for real dynamic suite
Browse files Browse the repository at this point in the history
  • Loading branch information
tetienne committed Nov 3, 2020
1 parent 6c562fc commit 89525e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions allure-python-commons/src/_allure.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ def issue(url, name=None):
def testcase(url, name=None):
Dynamic.link(url, link_type=LinkType.TEST_CASE, name=name)

def suite(suite_name):
Dynamic.label(LabelType.SUITE, suite_name)


def parent_suite(parent_suite_name):
Dynamic.label(LabelType.PARENT_SUITE, parent_suite_name)


def sub_suite(sub_suite_name):
Dynamic.label(LabelType.SUB_SUITE, sub_suite_name)


def step(title):
if callable(title):
Expand Down

0 comments on commit 89525e7

Please sign in to comment.