Skip to content

Throw exception at runtime if TestAdapter and TestFramework versions are mismatched #5653

@Youssef1313

Description

@Youssef1313

I think it's generally a good idea to enforce the same TestAdapter and TestFramework versions. When there is a mismatch, the exception should include the two versions that were used.

While it can be seen as a breaking change, I wouldn't view it as such. We already often introduce APIs in MSTest.TestFramework and access them in MSTest.TestAdapter. This often already failed in the past when users updated TestAdapter but didn't update TestFramework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions