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

Don't Output Full Source of Test Script's Expression #289

Open
3 tasks done
bgribaudo opened this issue Oct 12, 2023 · 0 comments
Open
3 tasks done

Don't Output Full Source of Test Script's Expression #289

bgribaudo opened this issue Oct 12, 2023 · 0 comments
Assignees
Labels
sdk tools Issue is related to the SDK Tools external nuget packages

Comments

@bgribaudo
Copy link
Contributor

Preflight Checklist

Problem

When a test script containing an expression (vs. a section document) is evaluated, the entire expression's source code is output. For a long test script, this can add a bit of clutter to the output window.

Example

 Test script:

"abc"

Output (only selected properties shown):

[3:51:40 PM]	[Info]	RunTestBattery result [
    {
        "Details": "\"abc\"", <------------ full source code output here
        "Method": "PQTest.RunTest",
        "Type": "PQTest.Expression"
    }
]

Desired Solution

Can the full source code not be echoed out?

Alternatives and Workarounds

No response

Additional Context

In contrast, full source code is not output when the test script contains a section document:

Test script:

section Test;
shared A = "abc";

Output (only selected properties shown):

[3:52:03 PM]	[Info]	RunTestBattery result [
    {
        "Details": "A", <---------------- just the section member name is output
        "Method": "A",
        "Type": "PQTest.RunTest"
    }
]
@mattmasson mattmasson self-assigned this Jan 25, 2024
@mattmasson mattmasson added the sdk tools Issue is related to the SDK Tools external nuget packages label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdk tools Issue is related to the SDK Tools external nuget packages
Projects
None yet
Development

No branches or pull requests

2 participants