-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto_test.py
More file actions
16 lines (15 loc) · 771 Bytes
/
Copy pathauto_test.py
File metadata and controls
16 lines (15 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from test_class import TestClass
'./build_products/appPE'
if __name__ == '__main__':
import argparse
arg_parser = argparse.ArgumentParser()
arg_parser.add_argument('-s', '--settings', default='config/default_settings.json',
help='option allows to use custom test settings')
arg_parser.add_argument('-v', '--verbose',action="store_true", dest="verbose", default=False,
help='option to generate verbose rapport')
arg_parser.add_argument('-a', '--app', required=True,
help='path to application to be tested')
args = arg_parser.parse_args()
print("Running settings", args.settings)
test = TestClass(args.settings, args.app, args.verbose)
test.run_tests()