Created
August 22, 2014 06:15
-
-
Save jollychang/fa0e1c9527fc7a2ec2b4 to your computer and use it in GitHub Desktop.
echo robotframework testcase name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from robot.parsing import TestCaseFile | |
def print_tag_is_core(): | |
suite = TestCaseFile(source='./test_base.txt').populate() | |
for test in suite.testcase_table: | |
if 'core' in test.tags.value: | |
print test.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment