Skip to content

Commit

Permalink
Add dynamic suite exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
tetienne committed Nov 3, 2020
1 parent d6fd9f4 commit a9f4135
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions allure-pytest/examples/label/suite/dynamic_suite.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Dynamic suite
-------------------

Also suites can be dynamically updated from within test body using allure.dynamic.suite.


>>> import allure

>>> def test_dynamic_suite():
... allure.dynamic.suite("Dynamic suite")
... allure.dynamic.parent_suite("Dynamic suite")
... allure.dynamic.sub_suite("Dynamic suite")

0 comments on commit a9f4135

Please sign in to comment.