Add initial script-run command#101
Merged
joperezr merged 2 commits intodotnet:masterfrom Dec 20, 2018
shaggygi:deviceapitester-script
Merged
Add initial script-run command#101joperezr merged 2 commits intodotnet:masterfrom shaggygi:deviceapitester-script
joperezr merged 2 commits intodotnet:masterfrom
shaggygi:deviceapitester-script
Conversation
joperezr
approved these changes
Dec 18, 2018
Member
joperezr
left a comment
There was a problem hiding this comment.
Nifty. Of course, there may be some remote execution concerns but given that this is mainly a tool for testing on a device I think this is fine. I'll see if @anphel31 or @jslobodzian have any feedback since they are the ones maintaining this tool.
Member
|
Merging now since I don't expect to get any more feedback here. |
Contributor
Author
|
Thanks @joperezr I have a few more additions to add in DeviceApiTester over the holiday break 🎅 |
Member
Response from our side might be a bit slower since most people will be out, but I will be monitoring new PRs that come our way 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new command section for scripting using the Roslyn Scripting APIs. This enables scenarios for more granular control over target devices and ability to execute routine tasks like integration tests for connected peripherals.
It contains a basic "script-run" command and currently only supports C# (assuming Visual Basic and F# could be added later). There is a required attribute for file path (-f) of script to execute.
Basic Example
DeviceApiTester script-run -f "/home/pi/MyIotScript.csx"Notes