Iterate quickly on PLT Test Plans using VSCode by using PLT Debug Mode and the Cyberduck SFTP client.
By putting your PLT in Debug Mode, you can test releases before publishing them to PLTcloud. With Cyberduck, you can edit the release files "directly" on the PLT with your favorite editor. We'll use VScode in this example, but nearly any editor can be used with this approach.
- PLT-200 or PLT-300
- Windows or macOS computer
- PLTcloud account with Administrator privileges.
- Cyberduck SFTP Client: https://cyberduck.io/download/
- VSCode: https://code.visualstudio.com/download (or your favorite editor)
- Follow this guide to put your PLT in Debug Mode.
- Now that your PLT is in Debug Mode, we'll setup Cyberduck to access it.
- Create a Bookmark in Cyberduck to your PLT.
- Open the Bookmark menu and select New Bookmark.
- Configure the bookmark as below, using your PLT's IP Address as the Server and selecting the SSH private key you created for the PLT. Make sure to set the Port, Username, Path, and Tranfer files settings as they are below:
- Save the bookmark by closing the window.
- Open the Bookmark by double-clicking on it.
- Create a new file on the PLT by right-clicking. Name the file "example.yaml".
- Now, open "example.yaml" for editing by right-clicking on it, selecting Edit With, and then select Code. (You can use the editor of your choice at this point!)
- Write a simple Test Plan.
- Save the file. Cyberduck will automatically upload the file to the PLT.
- Press the Reload button on the PLT.
- Your test plan is now ready to run, press the Start button to run the test.
- You can now iterate quickly on your test plan. You can upload firmware and other files with Cyberduck and refer to them from your test plan.
- Once you've completed testing your plan, download the files from the PLT using Cyberduck, and use them to create a release on PLTcloud.