Description
Add back support for Expected Exception which was made obsolete. This would helps in two ways:
- Transition from V1 would be made much simpler.
- The Create IntelliTest Wizard which currently only generates method level attributes would continue to work until fixed later on.
Steps to reproduce
- Create a Unit Test project.
- Add the V2 test fx and adapter to it.
- Add a test method which throws an exception and add an ExpectedException attribute targeting the same exception.
Expected behavior
The test should pass.
Actual behavior
The test fails and the build throws a warning that this is an obsolete attribute.
Environment
Please share additional details about the test environment.
Operating system, Build version of vstest.console, Package version of MSTest
framework and adapter
Description
Add back support for Expected Exception which was made obsolete. This would helps in two ways:
Steps to reproduce
Expected behavior
The test should pass.
Actual behavior
The test fails and the build throws a warning that this is an obsolete attribute.
Environment