Skip to content

Instantly share code, notes, and snippets.

@jollychang
Created August 22, 2014 06:15
Show Gist options
  • Save jollychang/fa0e1c9527fc7a2ec2b4 to your computer and use it in GitHub Desktop.
Save jollychang/fa0e1c9527fc7a2ec2b4 to your computer and use it in GitHub Desktop.
echo robotframework testcase name
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