Skip to content

Testing

Jeff MAURY edited this page Apr 4, 2019 · 3 revisions

Theia

Here are the steps to follow in order to test the extension in Theia.

Launch Theia

Linux:

docker run -it --rm -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia-full:next

Windows:

docker run -it --rm -p 3000:3000 -v "%cd%:/home/project:cached" theiaide/theia-full:next

The current directory will be used to host the projects you will then load in Theia

Install the extension

Open you web browser at localhost:3000

Select View -> Find Command and search for Plugin: Deploy Plugin by Id

Then enter either the URL to your VSIX file or vscode:extension/extension-id (vscode:extension/redhat.vscode-openshift-connector in our case)

Once your extension has been loaded, you can execute the command: View -> Find Command and filter with OpenShift

As of today, the view does not seem to be displayed so command is the only path to test.

Clone this wiki locally