-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_all.py
66 lines (62 loc) · 2.24 KB
/
test_all.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
from test_ts_dev_stage import test_ts_sdk_dev_stage
from test_dart_to_python import test_dart_to_python
from test_dart_typescript_sdk import test_dart_typescript_sdk
from test_frontend import test_frontend
from test_hello import test_hello
from test_todo_list import test_todo_list
from test_ts_to_python import test_ts_to_python_sdk
from test_unauthenticated import test_unauthenticated
from test_webhooks import test_webhooks
from test_binary_dependency import test_binary_dependency
from test_genezio_misc_cmds import test_genezio_misc_cmds
from test_create_list_delete import test_create_list_delete
from test_todo_list_ts import test_todo_list_ts
from test_python_sdk import test_python_sdk
from test_swift_sdk import test_swift_sdk
from test_js_sdk import test_js_sdk
from test_ts_sdk import test_ts_sdk
from test_dart import test_dart
from test_typescript_flutter_sdk import test_typescript_flutter_sdk
from test_lambda_handler_errors import test_lambda_handler_errors
from test_runtime_binary_dependency import test_runtime_linux_binary_dependency
from test_runtime_cron import test_runtime_linux_cron
from test_runtime_hello import test_runtime_linux_hello
from test_runtime_webhooks import test_runtime_linux_webhooks
from test_nextjs import test_nextjs
import pathlib
import os
if __name__ == '__main__':
test_path = pathlib.Path(__file__).parent.resolve()
tests_to_run = [
test_webhooks,
test_python_sdk,
test_binary_dependency,
test_genezio_misc_cmds,
test_create_list_delete,
test_swift_sdk,
test_todo_list_ts,
test_lambda_handler_errors,
test_dart_typescript_sdk,
# test_ts_to_python_sdk, # bug, scos
test_dart,
test_todo_list,
# test_dart_to_python, # bug, scos
test_frontend,
test_typescript_flutter_sdk,
test_ts_sdk,
test_unauthenticated,
test_js_sdk,
test_hello,
test_ts_sdk_dev_stage,
test_runtime_linux_binary_dependency,
test_runtime_linux_hello,
test_runtime_linux_webhooks,
test_runtime_linux_cron,
test_nextjs
]
# Run all tests
os.chdir(test_path)
for test in tests_to_run:
test()
os.chdir(test_path)
print("Test passed!")