[python] Add intellij.python.terminal._test module descriptor to run tests in dev-mode (IJPL-116621)

GitOrigin-RevId: 78265cfee46d31e3f0fa9be0c2f15677801ee9f1
This commit is contained in:
Ilia Kirianovskii
2025-09-24 23:50:16 +00:00
committed by intellij-monorepo-bot
parent b09e3546ec
commit e23fd3f184
3 changed files with 17 additions and 1 deletions
+8 -1
View File
@@ -7,6 +7,12 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_resources(
name = "terminal_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "terminal",
module_name = "intellij.python.terminal",
@@ -53,7 +59,8 @@ jvm_library(
"@lib//:junit5Params",
"@lib//:junit5Pioneer",
"//platform/testFramework/common",
]
],
runtime_deps = [":terminal_test_resources"]
)
### auto-generated section `build intellij.python.terminal` end
@@ -6,6 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -0,0 +1,8 @@
<idea-plugin>
<dependencies>
<module name="intellij.libraries.junit5.pioneer"/>
<module name="intellij.python.community.impl.venv._test"/>
<module name="intellij.python.community.junit5Tests.framework.conda._test"/>
<module name="intellij.python.terminal"/>
</dependencies>
</idea-plugin>