I'm looking at integrating a unit test framework into my plugin. I have seen https://intellij-support.jetbrains.com/hc/en-us/community/posts/206103879-Graphical-integration-of-running-tests-in-plugin about integrating it with the test result tree/run console -- this is helpful.
I'm trying to figure out how to get the "Run Test" line marker working for modules and test functions identified by my plugin, with the standard test context menu. In addition I am trying to understand how to get the "test failed"/"test passed" state indicated in the line markers. What classes/interfaces/services do I need to implement to achieve this?