happy-kitchen-89482
12/22/2021, 8:54 PMNo installed rules return the type FooTestFieldSet
for every Foo except JUnit (ScalatestTestFieldSet, PythonTestFieldSet, Shunit2FieldSet)hundreds-father-404
12/22/2021, 8:58 PMhappy-kitchen-89482
12/22/2021, 9:00 PMhundreds-father-404
12/22/2021, 9:02 PMsetup_junit_debug_request
and run_junit_test
? I don't see any errors..so the only idea I have is to try to isolate which line causes the issuehappy-kitchen-89482
12/22/2021, 9:21 PMUnionRule(TestFieldSet, JunitTestFieldSet),
makes this go awayhundreds-father-404
12/22/2021, 9:23 PMhappy-kitchen-89482
12/22/2021, 9:25 PMTestFieldSet
but that's normalhundreds-father-404
12/22/2021, 9:26 PMhappy-kitchen-89482
12/22/2021, 9:28 PMhundreds-father-404
12/22/2021, 9:29 PMwitty-crayon-22786
12/22/2021, 9:33 PMI figured maybe you could use junit to run jvm tests in other languagesyes: there are both
junit_tests
and scala_junit_tests
rule(desc="Run JUnit", level=LogLevel.DEBUG)
async def run_junit_test(
test_subsystem: TestSubsystem,
field_set: JunitTestFieldSet,
) -> TestResult:
@
is missing from the front of @rule
hundreds-father-404
12/22/2021, 9:39 PMhappy-kitchen-89482
12/22/2021, 9:46 PMwitty-crayon-22786
12/22/2021, 9:54 PMhundreds-father-404
12/22/2021, 9:56 PM