Using PythonTestController from another extension #21381
Unanswered
MathisFederico
asked this question in
Q&A
Replies: 1 comment 2 replies
-
None of the testing information is exposed via the API. We have actually been rewriting all the test code and so it hasn't been stable enough to consider adding to our public API. I also don't know if the usefulness of that information is broad enough to warrant exposing it via an API and thus having to maintain it indefinitely. But feel free to open a feature request for this and we can talk it over as a team. I will also say our test gathering isn't magical in the sense that others could probably replicate/copy it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ! Thank you for the great work !
Is it possible to gather the tests data and run tests from another extension ?
For each editor line, I would like to know the list of tests that executed the line, much like coverage but for each single test separately. And I would like to run specific tests, for example only the ones that run a specific line when the line is modified.
It seems there is no
testing
member in the exports API, but I'm still asking to be sure there is no workaround to accessPythonTestController
that seems to have this data:Running:

Gives:

Beta Was this translation helpful? Give feedback.
All reactions