ReSharper Platform SDK
 
Because ReSharper Platform SDK undefined is still in development, this documentation may not be entirely accurate and is subject to change.

Testing

Last modified: 04 July 2023

Testing language registration is fairly quick and easy. It's mostly checking that the Component Model has loaded the types correctly. This means the tests need to derive from BaseTest, so that the environment and Component Model has been initialised, but a solution hasn't been created.

Testing the IProjectFileLanguageService and PSI LanguageService implementations is not so straightforward. It's better to test them indirectly, by testing other functionality such as lexing, parsing, and so on.