Skip to content

Update TestResult object encoding in TestResultsSummaryPlugin.m#23

Open
mw-kapilg wants to merge 1 commit intomainfrom
kapilg/encoding-fix
Open

Update TestResult object encoding in TestResultsSummaryPlugin.m#23
mw-kapilg wants to merge 1 commit intomainfrom
kapilg/encoding-fix

Conversation

@mw-kapilg
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@davidbuzinski davidbuzinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Had one quick question, but if the answer is an easy yes, then ship it! :shipit:

for idx = 1:numel(pluginData.TestResult)
testDetails(idx).TestResult = pluginData.TestResult(idx);
testDetails(idx).TestResult.Duration = pluginData.TestResult(idx).Duration;
if ~isempty(pluginData.TestResult(idx).Details.DiagnosticRecord)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does DiagnosticRecord always exist on the Details struct or do we need to check if that field exists? I imagine that comes from a plugin, is it possible to run tests without that plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants