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

BugFix: WorkItemAttribute not extracted #749

Merged
6 commits merged into from
Dec 8, 2020
Merged

BugFix: WorkItemAttribute not extracted #749

6 commits merged into from
Dec 8, 2020

Conversation

fl3pp
Copy link
Contributor

@fl3pp fl3pp commented Dec 3, 2020

The TypeEnumerator class returned an Attribute[], which cannot be casted to an WorkItemAttribute[]. Even though the method signature specified an Attribute[], the mock was set up to return a WorkItemAttribute[] array, which causes the test to pass but the as conversion to fail at runtime.

@ghost
Copy link

ghost commented Dec 3, 2020

CLA assistant check
All CLA requirements met.

@schibu007
Copy link

I'd really appreciate this PR.

@ghost
Copy link

ghost commented Dec 8, 2020

Hello @Haplois!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link
Contributor

@Haplois Haplois left a comment

Choose a reason for hiding this comment

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

👍 LGTM. Thank you for your contribution.

@ghost ghost merged commit ad822aa into microsoft:master Dec 8, 2020
@fl3pp
Copy link
Contributor Author

fl3pp commented Dec 8, 2020

Thank you for your review!

Is there any chance you could tell when a preview will be available?

@Haplois
Copy link
Contributor

Haplois commented Dec 9, 2020

There is a back-compatibility issue in https://github.com/microsoft/vstest; after the fix is merged there, we can release a preview. Hopefully on this Friday, or mid next week at the latest.

We're also continuously integrating into our daily feed. You can use that for now. The version should be "MSTest.TestAdapter 2.2.0-preview-20201209-01" after the build completes.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants