forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing_test.bzl
23 lines (20 loc) · 800 Bytes
/
testing_test.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""
Macros for testing tests.
"""
load("//:oppia_android_test.bzl", "oppia_android_module_level_test")
# TODO(#1620): Remove module-specific test macros once Gradle is removed
def testing_test(name, filtered_tests, deps):
"""
Creates individual tests for test files in the testing module.
Args:
name: str. The relative path to the Kotlin test file.
filtered_tests: list of str. The test files that should not have tests defined for them.
deps: list of str. The list of dependencies needed to build and run this test.
"""
oppia_android_module_level_test(
name = name,
filtered_tests = filtered_tests,
deps = deps,
custom_package = "org.oppia.android.testing",
test_manifest = "src/test/AndroidManifest.xml",
)