python - Disabled test case in Robot Framework -


i try generate log want contain test suites , number of test cases disabled "-e --exclude tag". problem i've faces disabled test does't run , doesn't generate log used solving issue.

example

testsuite.txt

*** test cases ***  test 1     [tags]  disabled     keyword_1     keyword_2     ...  test 2     keyword_1     keyword_2     ...  test 3     [tags]  disabled     keyword_1     keyword_2     ... 

any suggestions?

you cannot both exclude test , run it. workaround might create skiptest keyword set tag disabled , pass execution. counts test passed shows number of disabled cases in tags.

*** keywords *** skiptest     set tags          disabled     pass execution    test disabled  *** test cases *** normal test     [tags]    normal     should equal    1      1  disabled test     skiptest     should equal    1      2 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -