bored-art-40741
04/04/2021, 10:17 PMUnionRule(TestFieldSet, JavaTestFieldSet)
, I somehow indirectly break Python's test rule graph.
No installed rules return the type PythonTestFieldSet, and it was not provided by potential callers of @rule(pants.backend.python.goals.pytest_runner:282:run_python_test(PythonTestFieldSet, TestSubsystem, PyTest) -> TestResult, gets=[Get(TestSetup, TestSetupRequest), Get(FallibleProcessResult, Process), Get(PySnapshot, DigestSubset), Get(PySnapshot, AddPrefix), Get(PySnapshot, RemovePrefix)]).
hundreds-father-404
04/05/2021, 4:40 AMTestDebugResult
as well. I think that could fix this and this error message is simply really misleading
I've been adding the Shunit2 test runner and have not hit this, so it should be possible to add a second test runnerbored-art-40741
04/07/2021, 12:18 AMTestDebugResult
anywhere, only TestDebugRequest
. Am I missing something?EnrichedTestResult
?EnrichedTestResult
, and given that pytest_runner
doesn't meantion it at all)hundreds-father-404
04/07/2021, 12:40 AMTestDebugResult
. I suspect that because that rule is not implemented, the rule graph is incomplete, resulting in this bogus error messagebored-art-40741
04/07/2021, 12:40 AMTestDebugRequest
from my field set, even just stubbed inhundreds-father-404
04/07/2021, 12:41 AMawait Get
statements. The actual code can be invalid - it's only the shape of the rule that mattersbored-art-40741
04/07/2021, 12:48 AMTestDebugRequest
, not ...Result
hundreds-father-404
04/07/2021, 12:51 AM