Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plug-in] Create a test framework to test interactions between API and plugin runtime. #3160

Open
sunix opened this issue Oct 12, 2018 · 0 comments
Labels
plug-in system issues related to the plug-in system

Comments

@sunix
Copy link
Contributor

sunix commented Oct 12, 2018

ATM, testing a plug-in API is about running a whole Theia app. It is not ideal in a developer flow neither when developing an API, neither when testing a plugin.
The requirements and goals of the framework would be

  • to be able to run it from a JS test framework
  • be able to mock plugin-in API implementation
  • test interactions/usages between plugin core and plugin runtime without having to launch a Theia App

An example of usage of this framework could be the command API:

  • command API is used through a plug-in in the plug-in runtime
  • calls are then delegated to the plug-ext in Theia main node app and could appear differently at for the command being called.
  • the framework would help in running test with the minimal set of components to be launched: command implementation, command plug-in api and plug-in code that invokes the command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system
Projects
None yet
Development

No branches or pull requests

3 participants