I made a custom plugin for analyzing UiPath projects. However, I’m not sure what the best way to implement unit tests for the checks is.
I’m not a SonarQube plugin expert, but it seems lot of the plugin depends on a SensorContext. Is there a way I can create a SensorContext for unit testing?
I’m also setting custom Properties (Using PropertyDefinition, which also depends on the SensorContext) in the settings. Is there a way alter the properties and unit test the checks with the altered values?
Is there any code I can look through that does something similar?
Thanks in advance.