You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an environment is rebuilt from within the extension, the code coverage type is unconditionally set to the value of the "Coverage Kind" setting. In the case where the environment was originally built outside of VS Code this is unlikely to be the behavior the user wants/expects. Additionally, this behavior contradicts the comment for this setting which says: "Sets the coverage kind when building a new environments"
The original intent of this feature was to allow the user an easy way to update the Coverage Kind for an existing environment.
I think the following changes should be made
Change "Coverage Kind" comment to be: "Sets the coverage kind when building a new environment" (drop the plural)
Don't update the environment script when doing a rebuild -> should simplify code quite a bit
Add a new context menu item for environment nodes to allow the user to change the Coverage Kind
a. Ideally this would be done without having a pop-up to prompt the user for coverage kind
Maybe add an "Update Coverage" command that uses the current setting value for "Coverage Kind"
Even though this requires two steps (change setting, run command)
Should be smart enough to "do no work" of the new coverage kind matches the existing coverage kind.
Consider adding the additional Coverage Kinds supported by VectorCAST to the setting list (e.g. function, ...)
The text was updated successfully, but these errors were encountered:
When an environment is rebuilt from within the extension, the code coverage type is unconditionally set to the value of the "Coverage Kind" setting. In the case where the environment was originally built outside of VS Code this is unlikely to be the behavior the user wants/expects. Additionally, this behavior contradicts the comment for this setting which says: "Sets the coverage kind when building a new environments"
The original intent of this feature was to allow the user an easy way to update the Coverage Kind for an existing environment.
I think the following changes should be made
a. Ideally this would be done without having a pop-up to prompt the user for coverage kind
Even though this requires two steps (change setting, run command)
The text was updated successfully, but these errors were encountered: