Created
January 7, 2018 03:36
-
-
Save InTheCloudDan/e90c24bc2c9ff7eba4757f62d511e08f to your computer and use it in GitHub Desktop.
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 absl import flags | |
from absl.testing import absltest as basetest | |
from absl.testing import xml_reporter | |
import unittest | |
import os | |
FLAGS = flags.FLAGS | |
FLAGS.mark_as_parsed() | |
if __name__ == '__main__': | |
loader = basetest.TestLoader() | |
suite = loader.discover(start_dir=os.getcwd(), pattern='*_test.py') | |
runner = xml_reporter.TextAndXMLTestRunner() | |
runner.run(suite) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment