-
Notifications
You must be signed in to change notification settings - Fork 25
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
Using PSLRUNTEST #100
Comments
Hi @cjprieb is this question still valid? if so let us know. |
I ended up rolling my own version of unit tests in the plugin, but I am still curious how your team implemented it. |
I will document that in the future (may take sometime) but for now leave here some highlights. As mentioned in CHANGELOG we have introduced the below configs: "psl.customTasks": [
{
"command": "runCoverage",
"mrpcID": "^ZMRPC121",
"request": "PSLRUNTESTC"
},
{
"command": "runTest",
"mrpcID": "^ZMRPC121",
"request": "PSLRUNTEST"
}
] On the host side we have created ZMRPC121 (with same signature of MRPC121, since we cannot extend without customising core) and implemented these 2 requests. We execute the below steps:
Since we extend the framework components
We have skipped any details of tests that passed and only report failures, errors and skipped files. We also get in the menu the list of compiled routines that were covered to select from, which will be fetched from Host and the coverage will be display on the mumps code highlighting which mumps code is covered and which is not. |
I'd like to experiment with the PSL Run Test options, but the release notes mention that they require custom code in Profile. Can you share the custom code that's in MRPC121? Do you have examples on what the test code looks like?
The text was updated successfully, but these errors were encountered: